AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
Section.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ApiGatewayV2 {
21namespace Model {
22
29class Section {
30 public:
31 AWS_APIGATEWAYV2_API Section() = default;
32 AWS_APIGATEWAYV2_API Section(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API Section& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetProductRestEndpointPageArns() const { return m_productRestEndpointPageArns; }
41 inline bool ProductRestEndpointPageArnsHasBeenSet() const { return m_productRestEndpointPageArnsHasBeenSet; }
42 template <typename ProductRestEndpointPageArnsT = Aws::Vector<Aws::String>>
43 void SetProductRestEndpointPageArns(ProductRestEndpointPageArnsT&& value) {
44 m_productRestEndpointPageArnsHasBeenSet = true;
45 m_productRestEndpointPageArns = std::forward<ProductRestEndpointPageArnsT>(value);
46 }
47 template <typename ProductRestEndpointPageArnsT = Aws::Vector<Aws::String>>
48 Section& WithProductRestEndpointPageArns(ProductRestEndpointPageArnsT&& value) {
49 SetProductRestEndpointPageArns(std::forward<ProductRestEndpointPageArnsT>(value));
50 return *this;
51 }
52 template <typename ProductRestEndpointPageArnsT = Aws::String>
53 Section& AddProductRestEndpointPageArns(ProductRestEndpointPageArnsT&& value) {
54 m_productRestEndpointPageArnsHasBeenSet = true;
55 m_productRestEndpointPageArns.emplace_back(std::forward<ProductRestEndpointPageArnsT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetSectionName() const { return m_sectionName; }
65 inline bool SectionNameHasBeenSet() const { return m_sectionNameHasBeenSet; }
66 template <typename SectionNameT = Aws::String>
67 void SetSectionName(SectionNameT&& value) {
68 m_sectionNameHasBeenSet = true;
69 m_sectionName = std::forward<SectionNameT>(value);
70 }
71 template <typename SectionNameT = Aws::String>
72 Section& WithSectionName(SectionNameT&& value) {
73 SetSectionName(std::forward<SectionNameT>(value));
74 return *this;
75 }
77 private:
78 Aws::Vector<Aws::String> m_productRestEndpointPageArns;
79
80 Aws::String m_sectionName;
81 bool m_productRestEndpointPageArnsHasBeenSet = false;
82 bool m_sectionNameHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace ApiGatewayV2
87} // namespace Aws
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
Section & WithProductRestEndpointPageArns(ProductRestEndpointPageArnsT &&value)
Definition Section.h:48
void SetSectionName(SectionNameT &&value)
Definition Section.h:67
const Aws::String & GetSectionName() const
Definition Section.h:64
Section & WithSectionName(SectionNameT &&value)
Definition Section.h:72
Section & AddProductRestEndpointPageArns(ProductRestEndpointPageArnsT &&value)
Definition Section.h:53
AWS_APIGATEWAYV2_API Section()=default
bool ProductRestEndpointPageArnsHasBeenSet() const
Definition Section.h:41
const Aws::Vector< Aws::String > & GetProductRestEndpointPageArns() const
Definition Section.h:40
void SetProductRestEndpointPageArns(ProductRestEndpointPageArnsT &&value)
Definition Section.h:43
AWS_APIGATEWAYV2_API Section & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API Section(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue