AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GetDiscoveryConfigurationResult.h
1
6#pragma once
7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/DiscoveryConfigurationData.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace APIPortal {
25namespace Model {
27 public:
28 AWS_APIPORTAL_API GetDiscoveryConfigurationResult() = default;
31
33
36 inline const DiscoveryConfigurationData& GetDiscoveryConfiguration() const { return m_discoveryConfiguration; }
37 template <typename DiscoveryConfigurationT = DiscoveryConfigurationData>
38 void SetDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
39 m_discoveryConfigurationHasBeenSet = true;
40 m_discoveryConfiguration = std::forward<DiscoveryConfigurationT>(value);
41 }
42 template <typename DiscoveryConfigurationT = DiscoveryConfigurationData>
44 SetDiscoveryConfiguration(std::forward<DiscoveryConfigurationT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
52 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
53 void SetTags(TagsT&& value) {
54 m_tagsHasBeenSet = true;
55 m_tags = std::forward<TagsT>(value);
56 }
57 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
59 SetTags(std::forward<TagsT>(value));
60 return *this;
61 }
62 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
63 GetDiscoveryConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
64 m_tagsHasBeenSet = true;
65 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 DiscoveryConfigurationData m_discoveryConfiguration;
88
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_discoveryConfigurationHasBeenSet = false;
94 bool m_tagsHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace APIPortal
100} // namespace Aws
AWS_APIPORTAL_API GetDiscoveryConfigurationResult()=default
const DiscoveryConfigurationData & GetDiscoveryConfiguration() const
GetDiscoveryConfigurationResult & WithRequestId(RequestIdT &&value)
GetDiscoveryConfigurationResult & WithDiscoveryConfiguration(DiscoveryConfigurationT &&value)
GetDiscoveryConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APIPORTAL_API GetDiscoveryConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIPORTAL_API GetDiscoveryConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDiscoveryConfigurationResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue