AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAvailablePatchesRequest.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/PatchOrchestratorFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSM
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeAvailablePatches"; }
33
34 AWS_SSM_API Aws::String SerializePayload() const override;
35
37
38
40
83 inline const Aws::Vector<PatchOrchestratorFilter>& GetFilters() const{ return m_filters; }
84 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
85 inline void SetFilters(const Aws::Vector<PatchOrchestratorFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
86 inline void SetFilters(Aws::Vector<PatchOrchestratorFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
89 inline DescribeAvailablePatchesRequest& AddFilters(const PatchOrchestratorFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
90 inline DescribeAvailablePatchesRequest& AddFilters(PatchOrchestratorFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
92
94
97 inline int GetMaxResults() const{ return m_maxResults; }
98 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
99 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 inline DescribeAvailablePatchesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
102
104
108 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
110 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
111 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
112 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
113 inline DescribeAvailablePatchesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 inline DescribeAvailablePatchesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 inline DescribeAvailablePatchesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117 private:
118
120 bool m_filtersHasBeenSet = false;
121
122 int m_maxResults;
123 bool m_maxResultsHasBeenSet = false;
124
125 Aws::String m_nextToken;
126 bool m_nextTokenHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace SSM
131} // namespace Aws
DescribeAvailablePatchesRequest & WithFilters(Aws::Vector< PatchOrchestratorFilter > &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAvailablePatchesRequest & WithMaxResults(int value)
DescribeAvailablePatchesRequest & WithNextToken(const char *value)
void SetFilters(const Aws::Vector< PatchOrchestratorFilter > &value)
DescribeAvailablePatchesRequest & WithNextToken(const Aws::String &value)
const Aws::Vector< PatchOrchestratorFilter > & GetFilters() const
void SetFilters(Aws::Vector< PatchOrchestratorFilter > &&value)
DescribeAvailablePatchesRequest & WithFilters(const Aws::Vector< PatchOrchestratorFilter > &value)
AWS_SSM_API Aws::String SerializePayload() const override
DescribeAvailablePatchesRequest & AddFilters(const PatchOrchestratorFilter &value)
DescribeAvailablePatchesRequest & WithNextToken(Aws::String &&value)
DescribeAvailablePatchesRequest & AddFilters(PatchOrchestratorFilter &&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