AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribePatchBaselinesRequest.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/ssm/SSMRequest.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/PatchOrchestratorFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SSM {
17namespace Model {
18
22 public:
23 AWS_SSM_API DescribePatchBaselinesRequest() = default;
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 "DescribePatchBaselines"; }
30
31 AWS_SSM_API Aws::String SerializePayload() const override;
32
34
36
46 inline const Aws::Vector<PatchOrchestratorFilter>& GetFilters() const { return m_filters; }
47 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
48 template <typename FiltersT = Aws::Vector<PatchOrchestratorFilter>>
49 void SetFilters(FiltersT&& value) {
50 m_filtersHasBeenSet = true;
51 m_filters = std::forward<FiltersT>(value);
52 }
53 template <typename FiltersT = Aws::Vector<PatchOrchestratorFilter>>
55 SetFilters(std::forward<FiltersT>(value));
56 return *this;
57 }
58 template <typename FiltersT = PatchOrchestratorFilter>
60 m_filtersHasBeenSet = true;
61 m_filters.emplace_back(std::forward<FiltersT>(value));
62 return *this;
63 }
65
67
70 inline int GetMaxResults() const { return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) {
73 m_maxResultsHasBeenSet = true;
74 m_maxResults = value;
75 }
77 SetMaxResults(value);
78 return *this;
79 }
81
83
87 inline const Aws::String& GetNextToken() const { return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 template <typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) {
91 m_nextTokenHasBeenSet = true;
92 m_nextToken = std::forward<NextTokenT>(value);
93 }
94 template <typename NextTokenT = Aws::String>
96 SetNextToken(std::forward<NextTokenT>(value));
97 return *this;
98 }
100 private:
102
103 int m_maxResults{0};
104
105 Aws::String m_nextToken;
106 bool m_filtersHasBeenSet = false;
107 bool m_maxResultsHasBeenSet = false;
108 bool m_nextTokenHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SSM
113} // namespace Aws
DescribePatchBaselinesRequest & AddFilters(FiltersT &&value)
DescribePatchBaselinesRequest & WithMaxResults(int value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribePatchBaselinesRequest & WithFilters(FiltersT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Vector< PatchOrchestratorFilter > & GetFilters() const
DescribePatchBaselinesRequest & WithNextToken(NextTokenT &&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