AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInstanceInformationRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ssm/model/InstanceInformationFilter.h>
12#include <aws/ssm/model/InstanceInformationStringFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SSM
18{
19namespace 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_SSM_API Aws::String SerializePayload() const override;
36
38
39
41
49 inline const Aws::Vector<InstanceInformationFilter>& GetInstanceInformationFilterList() const{ return m_instanceInformationFilterList; }
50 inline bool InstanceInformationFilterListHasBeenSet() const { return m_instanceInformationFilterListHasBeenSet; }
51 inline void SetInstanceInformationFilterList(const Aws::Vector<InstanceInformationFilter>& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList = value; }
52 inline void SetInstanceInformationFilterList(Aws::Vector<InstanceInformationFilter>&& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList = std::move(value); }
55 inline DescribeInstanceInformationRequest& AddInstanceInformationFilterList(const InstanceInformationFilter& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList.push_back(value); return *this; }
56 inline DescribeInstanceInformationRequest& AddInstanceInformationFilterList(InstanceInformationFilter&& value) { m_instanceInformationFilterListHasBeenSet = true; m_instanceInformationFilterList.push_back(std::move(value)); return *this; }
58
60
67 inline const Aws::Vector<InstanceInformationStringFilter>& GetFilters() const{ return m_filters; }
68 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
69 inline void SetFilters(const Aws::Vector<InstanceInformationStringFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
70 inline void SetFilters(Aws::Vector<InstanceInformationStringFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
73 inline DescribeInstanceInformationRequest& AddFilters(const InstanceInformationStringFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
74 inline DescribeInstanceInformationRequest& AddFilters(InstanceInformationStringFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
76
78
83 inline int GetMaxResults() const{ return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline DescribeInstanceInformationRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88
90
94 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
97 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
98 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
99 inline DescribeInstanceInformationRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
100 inline DescribeInstanceInformationRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
101 inline DescribeInstanceInformationRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
103 private:
104
105 Aws::Vector<InstanceInformationFilter> m_instanceInformationFilterList;
106 bool m_instanceInformationFilterListHasBeenSet = false;
107
109 bool m_filtersHasBeenSet = false;
110
111 int m_maxResults;
112 bool m_maxResultsHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SSM
120} // namespace Aws
DescribeInstanceInformationRequest & AddInstanceInformationFilterList(const InstanceInformationFilter &value)
DescribeInstanceInformationRequest & WithNextToken(const Aws::String &value)
const Aws::Vector< InstanceInformationStringFilter > & GetFilters() const
void SetInstanceInformationFilterList(Aws::Vector< InstanceInformationFilter > &&value)
void SetFilters(Aws::Vector< InstanceInformationStringFilter > &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeInstanceInformationRequest & WithFilters(const Aws::Vector< InstanceInformationStringFilter > &value)
const Aws::Vector< InstanceInformationFilter > & GetInstanceInformationFilterList() const
AWS_SSM_API Aws::String SerializePayload() const override
DescribeInstanceInformationRequest & WithFilters(Aws::Vector< InstanceInformationStringFilter > &&value)
DescribeInstanceInformationRequest & WithNextToken(const char *value)
DescribeInstanceInformationRequest & AddFilters(InstanceInformationStringFilter &&value)
void SetFilters(const Aws::Vector< InstanceInformationStringFilter > &value)
DescribeInstanceInformationRequest & WithNextToken(Aws::String &&value)
DescribeInstanceInformationRequest & WithInstanceInformationFilterList(const Aws::Vector< InstanceInformationFilter > &value)
DescribeInstanceInformationRequest & AddInstanceInformationFilterList(InstanceInformationFilter &&value)
void SetInstanceInformationFilterList(const Aws::Vector< InstanceInformationFilter > &value)
DescribeInstanceInformationRequest & WithMaxResults(int value)
DescribeInstanceInformationRequest & WithInstanceInformationFilterList(Aws::Vector< InstanceInformationFilter > &&value)
DescribeInstanceInformationRequest & AddFilters(const InstanceInformationStringFilter &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector