AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsApiGatewayEndpointConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API AwsApiGatewayEndpointConfiguration() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const Aws::Vector<Aws::String>& GetTypes() const { return m_types; }
44 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
45 template <typename TypesT = Aws::Vector<Aws::String>>
46 void SetTypes(TypesT&& value) {
47 m_typesHasBeenSet = true;
48 m_types = std::forward<TypesT>(value);
49 }
50 template <typename TypesT = Aws::Vector<Aws::String>>
52 SetTypes(std::forward<TypesT>(value));
53 return *this;
54 }
55 template <typename TypesT = Aws::String>
57 m_typesHasBeenSet = true;
58 m_types.emplace_back(std::forward<TypesT>(value));
59 return *this;
60 }
62 private:
64 bool m_typesHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace SecurityHub
69} // namespace Aws
AWS_SECURITYHUB_API AwsApiGatewayEndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayEndpointConfiguration & AddTypes(TypesT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsApiGatewayEndpointConfiguration()=default
AwsApiGatewayEndpointConfiguration & WithTypes(TypesT &&value)
AWS_SECURITYHUB_API AwsApiGatewayEndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue