AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAccountResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigateway/model/ThrottleSettings.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace APIGateway
26{
27namespace Model
28{
36 {
37 public:
38 AWS_APIGATEWAY_API GetAccountResult() = default;
41
42
44
47 inline const Aws::String& GetCloudwatchRoleArn() const { return m_cloudwatchRoleArn; }
48 template<typename CloudwatchRoleArnT = Aws::String>
49 void SetCloudwatchRoleArn(CloudwatchRoleArnT&& value) { m_cloudwatchRoleArnHasBeenSet = true; m_cloudwatchRoleArn = std::forward<CloudwatchRoleArnT>(value); }
50 template<typename CloudwatchRoleArnT = Aws::String>
51 GetAccountResult& WithCloudwatchRoleArn(CloudwatchRoleArnT&& value) { SetCloudwatchRoleArn(std::forward<CloudwatchRoleArnT>(value)); return *this;}
53
55
58 inline const ThrottleSettings& GetThrottleSettings() const { return m_throttleSettings; }
59 template<typename ThrottleSettingsT = ThrottleSettings>
60 void SetThrottleSettings(ThrottleSettingsT&& value) { m_throttleSettingsHasBeenSet = true; m_throttleSettings = std::forward<ThrottleSettingsT>(value); }
61 template<typename ThrottleSettingsT = ThrottleSettings>
62 GetAccountResult& WithThrottleSettings(ThrottleSettingsT&& value) { SetThrottleSettings(std::forward<ThrottleSettingsT>(value)); return *this;}
64
66
70 inline const Aws::Vector<Aws::String>& GetFeatures() const { return m_features; }
71 template<typename FeaturesT = Aws::Vector<Aws::String>>
72 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features = std::forward<FeaturesT>(value); }
73 template<typename FeaturesT = Aws::Vector<Aws::String>>
74 GetAccountResult& WithFeatures(FeaturesT&& value) { SetFeatures(std::forward<FeaturesT>(value)); return *this;}
75 template<typename FeaturesT = Aws::String>
76 GetAccountResult& AddFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features.emplace_back(std::forward<FeaturesT>(value)); return *this; }
78
80
83 inline const Aws::String& GetApiKeyVersion() const { return m_apiKeyVersion; }
84 template<typename ApiKeyVersionT = Aws::String>
85 void SetApiKeyVersion(ApiKeyVersionT&& value) { m_apiKeyVersionHasBeenSet = true; m_apiKeyVersion = std::forward<ApiKeyVersionT>(value); }
86 template<typename ApiKeyVersionT = Aws::String>
87 GetAccountResult& WithApiKeyVersion(ApiKeyVersionT&& value) { SetApiKeyVersion(std::forward<ApiKeyVersionT>(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 GetAccountResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_cloudwatchRoleArn;
101 bool m_cloudwatchRoleArnHasBeenSet = false;
102
103 ThrottleSettings m_throttleSettings;
104 bool m_throttleSettingsHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_features;
107 bool m_featuresHasBeenSet = false;
108
109 Aws::String m_apiKeyVersion;
110 bool m_apiKeyVersionHasBeenSet = false;
111
112 Aws::String m_requestId;
113 bool m_requestIdHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace APIGateway
118} // namespace Aws
GetAccountResult & WithApiKeyVersion(ApiKeyVersionT &&value)
GetAccountResult & WithFeatures(FeaturesT &&value)
AWS_APIGATEWAY_API GetAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCloudwatchRoleArn() const
void SetThrottleSettings(ThrottleSettingsT &&value)
AWS_APIGATEWAY_API GetAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApiKeyVersion(ApiKeyVersionT &&value)
const ThrottleSettings & GetThrottleSettings() const
GetAccountResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetApiKeyVersion() const
const Aws::Vector< Aws::String > & GetFeatures() const
const Aws::String & GetRequestId() const
GetAccountResult & AddFeatures(FeaturesT &&value)
AWS_APIGATEWAY_API GetAccountResult()=default
void SetCloudwatchRoleArn(CloudwatchRoleArnT &&value)
GetAccountResult & WithThrottleSettings(ThrottleSettingsT &&value)
GetAccountResult & WithCloudwatchRoleArn(CloudwatchRoleArnT &&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