AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsApiGatewayRestApiDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsApiGatewayEndpointConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsApiGatewayRestApiDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 AwsApiGatewayRestApiDetails& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 AwsApiGatewayRestApiDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 AwsApiGatewayRestApiDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
85 inline const Aws::String& GetCreatedDate() const { return m_createdDate; }
86 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
87 template<typename CreatedDateT = Aws::String>
88 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
89 template<typename CreatedDateT = Aws::String>
90 AwsApiGatewayRestApiDetails& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
92
94
97 inline const Aws::String& GetVersion() const { return m_version; }
98 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
99 template<typename VersionT = Aws::String>
100 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
101 template<typename VersionT = Aws::String>
102 AwsApiGatewayRestApiDetails& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
104
106
109 inline const Aws::Vector<Aws::String>& GetBinaryMediaTypes() const { return m_binaryMediaTypes; }
110 inline bool BinaryMediaTypesHasBeenSet() const { return m_binaryMediaTypesHasBeenSet; }
111 template<typename BinaryMediaTypesT = Aws::Vector<Aws::String>>
112 void SetBinaryMediaTypes(BinaryMediaTypesT&& value) { m_binaryMediaTypesHasBeenSet = true; m_binaryMediaTypes = std::forward<BinaryMediaTypesT>(value); }
113 template<typename BinaryMediaTypesT = Aws::Vector<Aws::String>>
114 AwsApiGatewayRestApiDetails& WithBinaryMediaTypes(BinaryMediaTypesT&& value) { SetBinaryMediaTypes(std::forward<BinaryMediaTypesT>(value)); return *this;}
115 template<typename BinaryMediaTypesT = Aws::String>
116 AwsApiGatewayRestApiDetails& AddBinaryMediaTypes(BinaryMediaTypesT&& value) { m_binaryMediaTypesHasBeenSet = true; m_binaryMediaTypes.emplace_back(std::forward<BinaryMediaTypesT>(value)); return *this; }
118
120
125 inline int GetMinimumCompressionSize() const { return m_minimumCompressionSize; }
126 inline bool MinimumCompressionSizeHasBeenSet() const { return m_minimumCompressionSizeHasBeenSet; }
127 inline void SetMinimumCompressionSize(int value) { m_minimumCompressionSizeHasBeenSet = true; m_minimumCompressionSize = value; }
130
132
139 inline const Aws::String& GetApiKeySource() const { return m_apiKeySource; }
140 inline bool ApiKeySourceHasBeenSet() const { return m_apiKeySourceHasBeenSet; }
141 template<typename ApiKeySourceT = Aws::String>
142 void SetApiKeySource(ApiKeySourceT&& value) { m_apiKeySourceHasBeenSet = true; m_apiKeySource = std::forward<ApiKeySourceT>(value); }
143 template<typename ApiKeySourceT = Aws::String>
144 AwsApiGatewayRestApiDetails& WithApiKeySource(ApiKeySourceT&& value) { SetApiKeySource(std::forward<ApiKeySourceT>(value)); return *this;}
146
148
151 inline const AwsApiGatewayEndpointConfiguration& GetEndpointConfiguration() const { return m_endpointConfiguration; }
152 inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
153 template<typename EndpointConfigurationT = AwsApiGatewayEndpointConfiguration>
154 void SetEndpointConfiguration(EndpointConfigurationT&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::forward<EndpointConfigurationT>(value); }
155 template<typename EndpointConfigurationT = AwsApiGatewayEndpointConfiguration>
156 AwsApiGatewayRestApiDetails& WithEndpointConfiguration(EndpointConfigurationT&& value) { SetEndpointConfiguration(std::forward<EndpointConfigurationT>(value)); return *this;}
158 private:
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
166 Aws::String m_description;
167 bool m_descriptionHasBeenSet = false;
168
169 Aws::String m_createdDate;
170 bool m_createdDateHasBeenSet = false;
171
172 Aws::String m_version;
173 bool m_versionHasBeenSet = false;
174
175 Aws::Vector<Aws::String> m_binaryMediaTypes;
176 bool m_binaryMediaTypesHasBeenSet = false;
177
178 int m_minimumCompressionSize{0};
179 bool m_minimumCompressionSizeHasBeenSet = false;
180
181 Aws::String m_apiKeySource;
182 bool m_apiKeySourceHasBeenSet = false;
183
184 AwsApiGatewayEndpointConfiguration m_endpointConfiguration;
185 bool m_endpointConfigurationHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace SecurityHub
190} // namespace Aws
AWS_SECURITYHUB_API AwsApiGatewayRestApiDetails()=default
AwsApiGatewayRestApiDetails & WithDescription(DescriptionT &&value)
AwsApiGatewayRestApiDetails & AddBinaryMediaTypes(BinaryMediaTypesT &&value)
const AwsApiGatewayEndpointConfiguration & GetEndpointConfiguration() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsApiGatewayRestApiDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetBinaryMediaTypes() const
AwsApiGatewayRestApiDetails & WithBinaryMediaTypes(BinaryMediaTypesT &&value)
AwsApiGatewayRestApiDetails & WithApiKeySource(ApiKeySourceT &&value)
AwsApiGatewayRestApiDetails & WithCreatedDate(CreatedDateT &&value)
AwsApiGatewayRestApiDetails & WithName(NameT &&value)
AwsApiGatewayRestApiDetails & WithMinimumCompressionSize(int value)
AwsApiGatewayRestApiDetails & WithVersion(VersionT &&value)
AWS_SECURITYHUB_API AwsApiGatewayRestApiDetails(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayRestApiDetails & WithEndpointConfiguration(EndpointConfigurationT &&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