AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeTrunkInterfaceAssociationsRequest.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/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EC2 {
17namespace Model {
18
22 public:
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeTrunkInterfaceAssociations"; }
30
31 AWS_EC2_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
41 inline const Aws::Vector<Aws::String>& GetAssociationIds() const { return m_associationIds; }
42 inline bool AssociationIdsHasBeenSet() const { return m_associationIdsHasBeenSet; }
43 template <typename AssociationIdsT = Aws::Vector<Aws::String>>
44 void SetAssociationIds(AssociationIdsT&& value) {
45 m_associationIdsHasBeenSet = true;
46 m_associationIds = std::forward<AssociationIdsT>(value);
47 }
48 template <typename AssociationIdsT = Aws::Vector<Aws::String>>
50 SetAssociationIds(std::forward<AssociationIdsT>(value));
51 return *this;
52 }
53 template <typename AssociationIdsT = Aws::String>
55 m_associationIdsHasBeenSet = true;
56 m_associationIds.emplace_back(std::forward<AssociationIdsT>(value));
57 return *this;
58 }
60
62
68 inline bool GetDryRun() const { return m_dryRun; }
69 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
70 inline void SetDryRun(bool value) {
71 m_dryRunHasBeenSet = true;
72 m_dryRun = value;
73 }
75 SetDryRun(value);
76 return *this;
77 }
79
81
87 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
88 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
89 template <typename FiltersT = Aws::Vector<Filter>>
90 void SetFilters(FiltersT&& value) {
91 m_filtersHasBeenSet = true;
92 m_filters = std::forward<FiltersT>(value);
93 }
94 template <typename FiltersT = Aws::Vector<Filter>>
96 SetFilters(std::forward<FiltersT>(value));
97 return *this;
98 }
99 template <typename FiltersT = Filter>
101 m_filtersHasBeenSet = true;
102 m_filters.emplace_back(std::forward<FiltersT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetNextToken() const { return m_nextToken; }
112 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
113 template <typename NextTokenT = Aws::String>
114 void SetNextToken(NextTokenT&& value) {
115 m_nextTokenHasBeenSet = true;
116 m_nextToken = std::forward<NextTokenT>(value);
117 }
118 template <typename NextTokenT = Aws::String>
120 SetNextToken(std::forward<NextTokenT>(value));
121 return *this;
122 }
124
126
131 inline int GetMaxResults() const { return m_maxResults; }
132 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
133 inline void SetMaxResults(int value) {
134 m_maxResultsHasBeenSet = true;
135 m_maxResults = value;
136 }
138 SetMaxResults(value);
139 return *this;
140 }
142 private:
143 Aws::Vector<Aws::String> m_associationIds;
144
145 bool m_dryRun{false};
146
147 Aws::Vector<Filter> m_filters;
148
149 Aws::String m_nextToken;
150
151 int m_maxResults{0};
152 bool m_associationIdsHasBeenSet = false;
153 bool m_dryRunHasBeenSet = false;
154 bool m_filtersHasBeenSet = false;
155 bool m_nextTokenHasBeenSet = false;
156 bool m_maxResultsHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace EC2
161} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeTrunkInterfaceAssociationsRequest & WithNextToken(NextTokenT &&value)
DescribeTrunkInterfaceAssociationsRequest & WithFilters(FiltersT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeTrunkInterfaceAssociationsRequest & AddAssociationIds(AssociationIdsT &&value)
DescribeTrunkInterfaceAssociationsRequest & WithAssociationIds(AssociationIdsT &&value)
DescribeTrunkInterfaceAssociationsRequest & AddFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector