AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeTrustStoresRequest.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/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElasticLoadBalancingv2 {
16namespace Model {
17
21 public:
22 AWS_ELASTICLOADBALANCINGV2_API DescribeTrustStoresRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeTrustStores"; }
29
30 AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
40 inline const Aws::Vector<Aws::String>& GetTrustStoreArns() const { return m_trustStoreArns; }
41 inline bool TrustStoreArnsHasBeenSet() const { return m_trustStoreArnsHasBeenSet; }
42 template <typename TrustStoreArnsT = Aws::Vector<Aws::String>>
43 void SetTrustStoreArns(TrustStoreArnsT&& value) {
44 m_trustStoreArnsHasBeenSet = true;
45 m_trustStoreArns = std::forward<TrustStoreArnsT>(value);
46 }
47 template <typename TrustStoreArnsT = Aws::Vector<Aws::String>>
49 SetTrustStoreArns(std::forward<TrustStoreArnsT>(value));
50 return *this;
51 }
52 template <typename TrustStoreArnsT = Aws::String>
54 m_trustStoreArnsHasBeenSet = true;
55 m_trustStoreArns.emplace_back(std::forward<TrustStoreArnsT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
65 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
66 template <typename NamesT = Aws::Vector<Aws::String>>
67 void SetNames(NamesT&& value) {
68 m_namesHasBeenSet = true;
69 m_names = std::forward<NamesT>(value);
70 }
71 template <typename NamesT = Aws::Vector<Aws::String>>
73 SetNames(std::forward<NamesT>(value));
74 return *this;
75 }
76 template <typename NamesT = Aws::String>
78 m_namesHasBeenSet = true;
79 m_names.emplace_back(std::forward<NamesT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::String& GetMarker() const { return m_marker; }
90 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 template <typename MarkerT = Aws::String>
92 void SetMarker(MarkerT&& value) {
93 m_markerHasBeenSet = true;
94 m_marker = std::forward<MarkerT>(value);
95 }
96 template <typename MarkerT = Aws::String>
98 SetMarker(std::forward<MarkerT>(value));
99 return *this;
100 }
102
104
107 inline int GetPageSize() const { return m_pageSize; }
108 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
109 inline void SetPageSize(int value) {
110 m_pageSizeHasBeenSet = true;
111 m_pageSize = value;
112 }
114 SetPageSize(value);
115 return *this;
116 }
118 private:
119 Aws::Vector<Aws::String> m_trustStoreArns;
120
122
123 Aws::String m_marker;
124
125 int m_pageSize{0};
126 bool m_trustStoreArnsHasBeenSet = false;
127 bool m_namesHasBeenSet = false;
128 bool m_markerHasBeenSet = false;
129 bool m_pageSizeHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace ElasticLoadBalancingv2
134} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
DescribeTrustStoresRequest & AddTrustStoreArns(TrustStoreArnsT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeTrustStoresRequest()=default
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeTrustStoresRequest & WithTrustStoreArns(TrustStoreArnsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector