AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
GetAutoManagementConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
12#include <aws/service-quotas/model/OptInLevel.h>
13#include <aws/service-quotas/model/OptInStatus.h>
14#include <aws/service-quotas/model/OptInType.h>
15#include <aws/service-quotas/model/QuotaInfo.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace ServiceQuotas {
29namespace Model {
31 public:
32 AWS_SERVICEQUOTAS_API GetAutoManagementConfigurationResult() = default;
36
38
42 inline OptInLevel GetOptInLevel() const { return m_optInLevel; }
43 inline void SetOptInLevel(OptInLevel value) {
44 m_optInLevelHasBeenSet = true;
45 m_optInLevel = value;
46 }
48 SetOptInLevel(value);
49 return *this;
50 }
52
54
59 inline OptInType GetOptInType() const { return m_optInType; }
60 inline void SetOptInType(OptInType value) {
61 m_optInTypeHasBeenSet = true;
62 m_optInType = value;
63 }
65 SetOptInType(value);
66 return *this;
67 }
69
71
77 inline const Aws::String& GetNotificationArn() const { return m_notificationArn; }
78 template <typename NotificationArnT = Aws::String>
79 void SetNotificationArn(NotificationArnT&& value) {
80 m_notificationArnHasBeenSet = true;
81 m_notificationArn = std::forward<NotificationArnT>(value);
82 }
83 template <typename NotificationArnT = Aws::String>
85 SetNotificationArn(std::forward<NotificationArnT>(value));
86 return *this;
87 }
89
91
94 inline OptInStatus GetOptInStatus() const { return m_optInStatus; }
95 inline void SetOptInStatus(OptInStatus value) {
96 m_optInStatusHasBeenSet = true;
97 m_optInStatus = value;
98 }
100 SetOptInStatus(value);
101 return *this;
102 }
104
106
111 inline const Aws::Map<Aws::String, Aws::Vector<QuotaInfo>>& GetExclusionList() const { return m_exclusionList; }
112 template <typename ExclusionListT = Aws::Map<Aws::String, Aws::Vector<QuotaInfo>>>
113 void SetExclusionList(ExclusionListT&& value) {
114 m_exclusionListHasBeenSet = true;
115 m_exclusionList = std::forward<ExclusionListT>(value);
116 }
117 template <typename ExclusionListT = Aws::Map<Aws::String, Aws::Vector<QuotaInfo>>>
119 SetExclusionList(std::forward<ExclusionListT>(value));
120 return *this;
121 }
122 template <typename ExclusionListKeyT = Aws::String, typename ExclusionListValueT = Aws::Vector<QuotaInfo>>
123 GetAutoManagementConfigurationResult& AddExclusionList(ExclusionListKeyT&& key, ExclusionListValueT&& value) {
124 m_exclusionListHasBeenSet = true;
125 m_exclusionList.emplace(std::forward<ExclusionListKeyT>(key), std::forward<ExclusionListValueT>(value));
126 return *this;
127 }
129
131
132 inline const Aws::String& GetRequestId() const { return m_requestId; }
133 template <typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) {
135 m_requestIdHasBeenSet = true;
136 m_requestId = std::forward<RequestIdT>(value);
137 }
138 template <typename RequestIdT = Aws::String>
140 SetRequestId(std::forward<RequestIdT>(value));
141 return *this;
142 }
144 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
145
146 private:
147 OptInLevel m_optInLevel{OptInLevel::NOT_SET};
148
149 OptInType m_optInType{OptInType::NOT_SET};
150
151 Aws::String m_notificationArn;
152
153 OptInStatus m_optInStatus{OptInStatus::NOT_SET};
154
156
157 Aws::String m_requestId;
158 Aws::Http::HttpResponseCode m_HttpResponseCode;
159 bool m_optInLevelHasBeenSet = false;
160 bool m_optInTypeHasBeenSet = false;
161 bool m_notificationArnHasBeenSet = false;
162 bool m_optInStatusHasBeenSet = false;
163 bool m_exclusionListHasBeenSet = false;
164 bool m_requestIdHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace ServiceQuotas
169} // namespace Aws
GetAutoManagementConfigurationResult & WithExclusionList(ExclusionListT &&value)
GetAutoManagementConfigurationResult & WithNotificationArn(NotificationArnT &&value)
AWS_SERVICEQUOTAS_API GetAutoManagementConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutoManagementConfigurationResult & WithOptInStatus(OptInStatus value)
const Aws::Map< Aws::String, Aws::Vector< QuotaInfo > > & GetExclusionList() const
GetAutoManagementConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_SERVICEQUOTAS_API GetAutoManagementConfigurationResult()=default
GetAutoManagementConfigurationResult & WithOptInLevel(OptInLevel value)
AWS_SERVICEQUOTAS_API GetAutoManagementConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutoManagementConfigurationResult & AddExclusionList(ExclusionListKeyT &&key, ExclusionListValueT &&value)
GetAutoManagementConfigurationResult & WithOptInType(OptInType value)
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