AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
UpdateAccountResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/ThrottleSettings.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.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 APIGateway {
25namespace Model {
33 public:
34 AWS_APIGATEWAY_API UpdateAccountResult() = default;
37
39
42 inline const Aws::String& GetCloudwatchRoleArn() const { return m_cloudwatchRoleArn; }
43 template <typename CloudwatchRoleArnT = Aws::String>
44 void SetCloudwatchRoleArn(CloudwatchRoleArnT&& value) {
45 m_cloudwatchRoleArnHasBeenSet = true;
46 m_cloudwatchRoleArn = std::forward<CloudwatchRoleArnT>(value);
47 }
48 template <typename CloudwatchRoleArnT = Aws::String>
49 UpdateAccountResult& WithCloudwatchRoleArn(CloudwatchRoleArnT&& value) {
50 SetCloudwatchRoleArn(std::forward<CloudwatchRoleArnT>(value));
51 return *this;
52 }
54
56
59 inline const ThrottleSettings& GetThrottleSettings() const { return m_throttleSettings; }
60 template <typename ThrottleSettingsT = ThrottleSettings>
61 void SetThrottleSettings(ThrottleSettingsT&& value) {
62 m_throttleSettingsHasBeenSet = true;
63 m_throttleSettings = std::forward<ThrottleSettingsT>(value);
64 }
65 template <typename ThrottleSettingsT = ThrottleSettings>
66 UpdateAccountResult& WithThrottleSettings(ThrottleSettingsT&& value) {
67 SetThrottleSettings(std::forward<ThrottleSettingsT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::Vector<Aws::String>& GetFeatures() const { return m_features; }
78 template <typename FeaturesT = Aws::Vector<Aws::String>>
79 void SetFeatures(FeaturesT&& value) {
80 m_featuresHasBeenSet = true;
81 m_features = std::forward<FeaturesT>(value);
82 }
83 template <typename FeaturesT = Aws::Vector<Aws::String>>
84 UpdateAccountResult& WithFeatures(FeaturesT&& value) {
85 SetFeatures(std::forward<FeaturesT>(value));
86 return *this;
87 }
88 template <typename FeaturesT = Aws::String>
89 UpdateAccountResult& AddFeatures(FeaturesT&& value) {
90 m_featuresHasBeenSet = true;
91 m_features.emplace_back(std::forward<FeaturesT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetApiKeyVersion() const { return m_apiKeyVersion; }
101 template <typename ApiKeyVersionT = Aws::String>
102 void SetApiKeyVersion(ApiKeyVersionT&& value) {
103 m_apiKeyVersionHasBeenSet = true;
104 m_apiKeyVersion = std::forward<ApiKeyVersionT>(value);
105 }
106 template <typename ApiKeyVersionT = Aws::String>
107 UpdateAccountResult& WithApiKeyVersion(ApiKeyVersionT&& value) {
108 SetApiKeyVersion(std::forward<ApiKeyVersionT>(value));
109 return *this;
110 }
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template <typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) {
118 m_requestIdHasBeenSet = true;
119 m_requestId = std::forward<RequestIdT>(value);
120 }
121 template <typename RequestIdT = Aws::String>
122 UpdateAccountResult& WithRequestId(RequestIdT&& value) {
123 SetRequestId(std::forward<RequestIdT>(value));
124 return *this;
125 }
127 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
128
129 private:
130 Aws::String m_cloudwatchRoleArn;
131
132 ThrottleSettings m_throttleSettings;
133
134 Aws::Vector<Aws::String> m_features;
135
136 Aws::String m_apiKeyVersion;
137
138 Aws::String m_requestId;
139 Aws::Http::HttpResponseCode m_HttpResponseCode;
140 bool m_cloudwatchRoleArnHasBeenSet = false;
141 bool m_throttleSettingsHasBeenSet = false;
142 bool m_featuresHasBeenSet = false;
143 bool m_apiKeyVersionHasBeenSet = false;
144 bool m_requestIdHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace APIGateway
149} // namespace Aws
UpdateAccountResult & WithCloudwatchRoleArn(CloudwatchRoleArnT &&value)
UpdateAccountResult & WithApiKeyVersion(ApiKeyVersionT &&value)
AWS_APIGATEWAY_API UpdateAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetThrottleSettings(ThrottleSettingsT &&value)
UpdateAccountResult & WithRequestId(RequestIdT &&value)
UpdateAccountResult & AddFeatures(FeaturesT &&value)
const Aws::Vector< Aws::String > & GetFeatures() const
const ThrottleSettings & GetThrottleSettings() const
AWS_APIGATEWAY_API UpdateAccountResult()=default
AWS_APIGATEWAY_API UpdateAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCloudwatchRoleArn(CloudwatchRoleArnT &&value)
UpdateAccountResult & WithFeatures(FeaturesT &&value)
UpdateAccountResult & WithThrottleSettings(ThrottleSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue