AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
DisplayOrder.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/Section.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApiGatewayV2 {
22namespace Model {
23
30 public:
31 AWS_APIGATEWAYV2_API DisplayOrder() = default;
32 AWS_APIGATEWAYV2_API DisplayOrder(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API DisplayOrder& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Section>& GetContents() const { return m_contents; }
42 inline bool ContentsHasBeenSet() const { return m_contentsHasBeenSet; }
43 template <typename ContentsT = Aws::Vector<Section>>
44 void SetContents(ContentsT&& value) {
45 m_contentsHasBeenSet = true;
46 m_contents = std::forward<ContentsT>(value);
47 }
48 template <typename ContentsT = Aws::Vector<Section>>
49 DisplayOrder& WithContents(ContentsT&& value) {
50 SetContents(std::forward<ContentsT>(value));
51 return *this;
52 }
53 template <typename ContentsT = Section>
54 DisplayOrder& AddContents(ContentsT&& value) {
55 m_contentsHasBeenSet = true;
56 m_contents.emplace_back(std::forward<ContentsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetOverviewPageArn() const { return m_overviewPageArn; }
66 inline bool OverviewPageArnHasBeenSet() const { return m_overviewPageArnHasBeenSet; }
67 template <typename OverviewPageArnT = Aws::String>
68 void SetOverviewPageArn(OverviewPageArnT&& value) {
69 m_overviewPageArnHasBeenSet = true;
70 m_overviewPageArn = std::forward<OverviewPageArnT>(value);
71 }
72 template <typename OverviewPageArnT = Aws::String>
73 DisplayOrder& WithOverviewPageArn(OverviewPageArnT&& value) {
74 SetOverviewPageArn(std::forward<OverviewPageArnT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::Vector<Aws::String>& GetProductPageArns() const { return m_productPageArns; }
84 inline bool ProductPageArnsHasBeenSet() const { return m_productPageArnsHasBeenSet; }
85 template <typename ProductPageArnsT = Aws::Vector<Aws::String>>
86 void SetProductPageArns(ProductPageArnsT&& value) {
87 m_productPageArnsHasBeenSet = true;
88 m_productPageArns = std::forward<ProductPageArnsT>(value);
89 }
90 template <typename ProductPageArnsT = Aws::Vector<Aws::String>>
91 DisplayOrder& WithProductPageArns(ProductPageArnsT&& value) {
92 SetProductPageArns(std::forward<ProductPageArnsT>(value));
93 return *this;
94 }
95 template <typename ProductPageArnsT = Aws::String>
96 DisplayOrder& AddProductPageArns(ProductPageArnsT&& value) {
97 m_productPageArnsHasBeenSet = true;
98 m_productPageArns.emplace_back(std::forward<ProductPageArnsT>(value));
99 return *this;
100 }
102 private:
103 Aws::Vector<Section> m_contents;
104
105 Aws::String m_overviewPageArn;
106
107 Aws::Vector<Aws::String> m_productPageArns;
108 bool m_contentsHasBeenSet = false;
109 bool m_overviewPageArnHasBeenSet = false;
110 bool m_productPageArnsHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace ApiGatewayV2
115} // namespace Aws
AWS_APIGATEWAYV2_API DisplayOrder(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API DisplayOrder & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOverviewPageArn() const
DisplayOrder & WithProductPageArns(ProductPageArnsT &&value)
void SetContents(ContentsT &&value)
AWS_APIGATEWAYV2_API DisplayOrder()=default
const Aws::Vector< Aws::String > & GetProductPageArns() const
DisplayOrder & AddContents(ContentsT &&value)
const Aws::Vector< Section > & GetContents() const
void SetProductPageArns(ProductPageArnsT &&value)
DisplayOrder & WithOverviewPageArn(OverviewPageArnT &&value)
DisplayOrder & WithContents(ContentsT &&value)
void SetOverviewPageArn(OverviewPageArnT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
DisplayOrder & AddProductPageArns(ProductPageArnsT &&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