AWS SDK for C++  1.9.131
AWS SDK for C++
DescribeInstanceInformationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
8 #include <aws/ssm/SSMRequest.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SSM
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeInstanceInformation"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
48  inline const Aws::Vector<InstanceInformationFilter>& GetInstanceInformationFilterList() const{ return m_instanceInformationFilterList; }
49 
58  inline bool InstanceInformationFilterListHasBeenSet() const { return m_instanceInformationFilterListHasBeenSet; }
59 
68  inline void SetInstanceInformationFilterList(const Aws::Vector<InstanceInformationFilter>& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList = value; }
69 
78  inline void SetInstanceInformationFilterList(Aws::Vector<InstanceInformationFilter>&& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList = std::move(value); }
79 
88  inline DescribeInstanceInformationRequest& WithInstanceInformationFilterList(const Aws::Vector<InstanceInformationFilter>& value) { SetInstanceInformationFilterList(value); return *this;}
89 
98  inline DescribeInstanceInformationRequest& WithInstanceInformationFilterList(Aws::Vector<InstanceInformationFilter>&& value) { SetInstanceInformationFilterList(std::move(value)); return *this;}
99 
108  inline DescribeInstanceInformationRequest& AddInstanceInformationFilterList(const InstanceInformationFilter& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList.push_back(value); return *this; }
109 
118  inline DescribeInstanceInformationRequest& AddInstanceInformationFilterList(InstanceInformationFilter&& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList.push_back(std::move(value)); return *this; }
119 
120 
127  inline const Aws::Vector<InstanceInformationStringFilter>& GetFilters() const{ return m_filters; }
128 
135  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
136 
143  inline void SetFilters(const Aws::Vector<InstanceInformationStringFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
144 
151  inline void SetFilters(Aws::Vector<InstanceInformationStringFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
152 
159  inline DescribeInstanceInformationRequest& WithFilters(const Aws::Vector<InstanceInformationStringFilter>& value) { SetFilters(value); return *this;}
160 
167  inline DescribeInstanceInformationRequest& WithFilters(Aws::Vector<InstanceInformationStringFilter>&& value) { SetFilters(std::move(value)); return *this;}
168 
175  inline DescribeInstanceInformationRequest& AddFilters(const InstanceInformationStringFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
176 
183  inline DescribeInstanceInformationRequest& AddFilters(InstanceInformationStringFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
184 
185 
191  inline int GetMaxResults() const{ return m_maxResults; }
192 
198  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
199 
205  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
206 
212  inline DescribeInstanceInformationRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
213 
214 
219  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
220 
225  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
226 
231  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
232 
237  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
238 
243  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
244 
249  inline DescribeInstanceInformationRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
250 
255  inline DescribeInstanceInformationRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
256 
261  inline DescribeInstanceInformationRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
262 
263  private:
264 
265  Aws::Vector<InstanceInformationFilter> m_instanceInformationFilterList;
266  bool m_instanceInformationFilterListHasBeenSet;
267 
269  bool m_filtersHasBeenSet;
270 
271  int m_maxResults;
272  bool m_maxResultsHasBeenSet;
273 
274  Aws::String m_nextToken;
275  bool m_nextTokenHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace SSM
280 } // namespace Aws
Aws::SSM::Model::DescribeInstanceInformationRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeInstanceInformationRequest.h:205
Aws::SSM::Model::DescribeInstanceInformationRequest::SetFilters
void SetFilters(Aws::Vector< InstanceInformationStringFilter > &&value)
Definition: DescribeInstanceInformationRequest.h:151
InstanceInformationStringFilter.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::DescribeInstanceInformationRequest::DescribeInstanceInformationRequest
DescribeInstanceInformationRequest()
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::DescribeInstanceInformationRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeInstanceInformationRequest.h:243
Aws::SSM::Model::DescribeInstanceInformationRequest::WithInstanceInformationFilterList
DescribeInstanceInformationRequest & WithInstanceInformationFilterList(Aws::Vector< InstanceInformationFilter > &&value)
Definition: DescribeInstanceInformationRequest.h:98
InstanceInformationFilter.h
Aws::SSM::Model::DescribeInstanceInformationRequest::GetFilters
const Aws::Vector< InstanceInformationStringFilter > & GetFilters() const
Definition: DescribeInstanceInformationRequest.h:127
Aws::SSM::Model::DescribeInstanceInformationRequest::WithInstanceInformationFilterList
DescribeInstanceInformationRequest & WithInstanceInformationFilterList(const Aws::Vector< InstanceInformationFilter > &value)
Definition: DescribeInstanceInformationRequest.h:88
Aws::SSM::Model::DescribeInstanceInformationRequest::AddInstanceInformationFilterList
DescribeInstanceInformationRequest & AddInstanceInformationFilterList(InstanceInformationFilter &&value)
Definition: DescribeInstanceInformationRequest.h:118
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::InstanceInformationFilter
Definition: InstanceInformationFilter.h:39
AWSVector.h
Aws::SSM::Model::DescribeInstanceInformationRequest::WithNextToken
DescribeInstanceInformationRequest & WithNextToken(const char *value)
Definition: DescribeInstanceInformationRequest.h:261
Aws::SSM::Model::DescribeInstanceInformationRequest::AddFilters
DescribeInstanceInformationRequest & AddFilters(InstanceInformationStringFilter &&value)
Definition: DescribeInstanceInformationRequest.h:183
Aws::SSM::Model::DescribeInstanceInformationRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeInstanceInformationRequest.h:231
Aws::SSM::Model::DescribeInstanceInformationRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeInstanceInformationRequest.h:198
Aws::SSM::Model::DescribeInstanceInformationRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeInstanceInformationRequest.h:219
Aws::SSM::Model::DescribeInstanceInformationRequest::GetInstanceInformationFilterList
const Aws::Vector< InstanceInformationFilter > & GetInstanceInformationFilterList() const
Definition: DescribeInstanceInformationRequest.h:48
Aws::SSM::Model::DescribeInstanceInformationRequest::WithNextToken
DescribeInstanceInformationRequest & WithNextToken(Aws::String &&value)
Definition: DescribeInstanceInformationRequest.h:255
Aws::SSM::Model::DescribeInstanceInformationRequest::InstanceInformationFilterListHasBeenSet
bool InstanceInformationFilterListHasBeenSet() const
Definition: DescribeInstanceInformationRequest.h:58
Aws::SSM::Model::DescribeInstanceInformationRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeInstanceInformationRequest.h:135
Aws::SSM::Model::DescribeInstanceInformationRequest::AddInstanceInformationFilterList
DescribeInstanceInformationRequest & AddInstanceInformationFilterList(const InstanceInformationFilter &value)
Definition: DescribeInstanceInformationRequest.h:108
Aws::SSM::Model::DescribeInstanceInformationRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeInstanceInformationRequest.h:225
Aws::SSM::Model::DescribeInstanceInformationRequest::WithFilters
DescribeInstanceInformationRequest & WithFilters(const Aws::Vector< InstanceInformationStringFilter > &value)
Definition: DescribeInstanceInformationRequest.h:159
Aws::SSM::Model::InstanceInformationStringFilter
Definition: InstanceInformationStringFilter.h:34
AWSString.h
Aws::SSM::Model::DescribeInstanceInformationRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeInstanceInformationRequest.h:191
Aws::SSM::Model::DescribeInstanceInformationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::DescribeInstanceInformationRequest
Definition: DescribeInstanceInformationRequest.h:25
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::DescribeInstanceInformationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::DescribeInstanceInformationRequest::WithFilters
DescribeInstanceInformationRequest & WithFilters(Aws::Vector< InstanceInformationStringFilter > &&value)
Definition: DescribeInstanceInformationRequest.h:167
Aws::SSM::Model::DescribeInstanceInformationRequest::WithMaxResults
DescribeInstanceInformationRequest & WithMaxResults(int value)
Definition: DescribeInstanceInformationRequest.h:212
Aws::SSM::Model::DescribeInstanceInformationRequest::AddFilters
DescribeInstanceInformationRequest & AddFilters(const InstanceInformationStringFilter &value)
Definition: DescribeInstanceInformationRequest.h:175
Aws::SSM::Model::DescribeInstanceInformationRequest::SetInstanceInformationFilterList
void SetInstanceInformationFilterList(const Aws::Vector< InstanceInformationFilter > &value)
Definition: DescribeInstanceInformationRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::DescribeInstanceInformationRequest::SetInstanceInformationFilterList
void SetInstanceInformationFilterList(Aws::Vector< InstanceInformationFilter > &&value)
Definition: DescribeInstanceInformationRequest.h:78
Aws::SSM::Model::DescribeInstanceInformationRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeInstanceInformationRequest.h:237
Aws::SSM::Model::DescribeInstanceInformationRequest::WithNextToken
DescribeInstanceInformationRequest & WithNextToken(const Aws::String &value)
Definition: DescribeInstanceInformationRequest.h:249
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::DescribeInstanceInformationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeInstanceInformationRequest.h:33
SSMRequest.h
Aws::SSM::Model::DescribeInstanceInformationRequest::SetFilters
void SetFilters(const Aws::Vector< InstanceInformationStringFilter > &value)
Definition: DescribeInstanceInformationRequest.h:143