AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInstancePropertiesRequest.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/InstancePropertyFilter.h>
12#include <aws/ssm/model/InstancePropertyStringFilter.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 "DescribeInstanceProperties"; }
34
35 AWS_SSM_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::Vector<InstancePropertyFilter>& GetInstancePropertyFilterList() const{ return m_instancePropertyFilterList; }
45 inline bool InstancePropertyFilterListHasBeenSet() const { return m_instancePropertyFilterListHasBeenSet; }
46 inline void SetInstancePropertyFilterList(const Aws::Vector<InstancePropertyFilter>& value) { m_instancePropertyFilterListHasBeenSet = true; m_instancePropertyFilterList = value; }
47 inline void SetInstancePropertyFilterList(Aws::Vector<InstancePropertyFilter>&& value) { m_instancePropertyFilterListHasBeenSet = true; m_instancePropertyFilterList = std::move(value); }
50 inline DescribeInstancePropertiesRequest& AddInstancePropertyFilterList(const InstancePropertyFilter& value) { m_instancePropertyFilterListHasBeenSet = true; m_instancePropertyFilterList.push_back(value); return *this; }
51 inline DescribeInstancePropertiesRequest& AddInstancePropertyFilterList(InstancePropertyFilter&& value) { m_instancePropertyFilterListHasBeenSet = true; m_instancePropertyFilterList.push_back(std::move(value)); return *this; }
53
55
58 inline const Aws::Vector<InstancePropertyStringFilter>& GetFiltersWithOperator() const{ return m_filtersWithOperator; }
59 inline bool FiltersWithOperatorHasBeenSet() const { return m_filtersWithOperatorHasBeenSet; }
60 inline void SetFiltersWithOperator(const Aws::Vector<InstancePropertyStringFilter>& value) { m_filtersWithOperatorHasBeenSet = true; m_filtersWithOperator = value; }
61 inline void SetFiltersWithOperator(Aws::Vector<InstancePropertyStringFilter>&& value) { m_filtersWithOperatorHasBeenSet = true; m_filtersWithOperator = std::move(value); }
64 inline DescribeInstancePropertiesRequest& AddFiltersWithOperator(const InstancePropertyStringFilter& value) { m_filtersWithOperatorHasBeenSet = true; m_filtersWithOperator.push_back(value); return *this; }
65 inline DescribeInstancePropertiesRequest& AddFiltersWithOperator(InstancePropertyStringFilter&& value) { m_filtersWithOperatorHasBeenSet = true; m_filtersWithOperator.push_back(std::move(value)); return *this; }
67
69
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline DescribeInstancePropertiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline DescribeInstancePropertiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline DescribeInstancePropertiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline DescribeInstancePropertiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94 private:
95
96 Aws::Vector<InstancePropertyFilter> m_instancePropertyFilterList;
97 bool m_instancePropertyFilterListHasBeenSet = false;
98
100 bool m_filtersWithOperatorHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace SSM
111} // namespace Aws
DescribeInstancePropertiesRequest & WithNextToken(const Aws::String &value)
DescribeInstancePropertiesRequest & WithFiltersWithOperator(Aws::Vector< InstancePropertyStringFilter > &&value)
DescribeInstancePropertiesRequest & AddInstancePropertyFilterList(const InstancePropertyFilter &value)
DescribeInstancePropertiesRequest & WithMaxResults(int value)
void SetFiltersWithOperator(const Aws::Vector< InstancePropertyStringFilter > &value)
void SetFiltersWithOperator(Aws::Vector< InstancePropertyStringFilter > &&value)
const Aws::Vector< InstancePropertyFilter > & GetInstancePropertyFilterList() const
const Aws::Vector< InstancePropertyStringFilter > & GetFiltersWithOperator() const
DescribeInstancePropertiesRequest & WithFiltersWithOperator(const Aws::Vector< InstancePropertyStringFilter > &value)
DescribeInstancePropertiesRequest & WithInstancePropertyFilterList(Aws::Vector< InstancePropertyFilter > &&value)
DescribeInstancePropertiesRequest & WithInstancePropertyFilterList(const Aws::Vector< InstancePropertyFilter > &value)
void SetInstancePropertyFilterList(Aws::Vector< InstancePropertyFilter > &&value)
DescribeInstancePropertiesRequest & AddInstancePropertyFilterList(InstancePropertyFilter &&value)
DescribeInstancePropertiesRequest & AddFiltersWithOperator(const InstancePropertyStringFilter &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeInstancePropertiesRequest & WithNextToken(Aws::String &&value)
DescribeInstancePropertiesRequest & AddFiltersWithOperator(InstancePropertyStringFilter &&value)
void SetInstancePropertyFilterList(const Aws::Vector< InstancePropertyFilter > &value)
AWS_SSM_API Aws::String SerializePayload() const override
DescribeInstancePropertiesRequest & WithNextToken(const char *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