AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribePatchPropertiesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/OperatingSystem.h>
11#include <aws/ssm/model/PatchProperty.h>
12#include <aws/ssm/model/PatchSet.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SSM {
18namespace Model {
19
23 public:
24 AWS_SSM_API DescribePatchPropertiesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribePatchProperties"; }
31
32 AWS_SSM_API Aws::String SerializePayload() const override;
33
35
37
40 inline OperatingSystem GetOperatingSystem() const { return m_operatingSystem; }
41 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
43 m_operatingSystemHasBeenSet = true;
44 m_operatingSystem = value;
45 }
47 SetOperatingSystem(value);
48 return *this;
49 }
51
53
56 inline PatchProperty GetProperty() const { return m_property; }
57 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
58 inline void SetProperty(PatchProperty value) {
59 m_propertyHasBeenSet = true;
60 m_property = value;
61 }
63 SetProperty(value);
64 return *this;
65 }
67
69
74 inline PatchSet GetPatchSet() const { return m_patchSet; }
75 inline bool PatchSetHasBeenSet() const { return m_patchSetHasBeenSet; }
76 inline void SetPatchSet(PatchSet value) {
77 m_patchSetHasBeenSet = true;
78 m_patchSet = value;
79 }
81 SetPatchSet(value);
82 return *this;
83 }
85
87
92 inline int GetMaxResults() const { return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) {
95 m_maxResultsHasBeenSet = true;
96 m_maxResults = value;
97 }
99 SetMaxResults(value);
100 return *this;
101 }
103
105
109 inline const Aws::String& GetNextToken() const { return m_nextToken; }
110 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 template <typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) {
113 m_nextTokenHasBeenSet = true;
114 m_nextToken = std::forward<NextTokenT>(value);
115 }
116 template <typename NextTokenT = Aws::String>
118 SetNextToken(std::forward<NextTokenT>(value));
119 return *this;
120 }
122 private:
123 OperatingSystem m_operatingSystem{OperatingSystem::NOT_SET};
124
126
127 PatchSet m_patchSet{PatchSet::NOT_SET};
128
129 int m_maxResults{0};
130
131 Aws::String m_nextToken;
132 bool m_operatingSystemHasBeenSet = false;
133 bool m_propertyHasBeenSet = false;
134 bool m_patchSetHasBeenSet = false;
135 bool m_maxResultsHasBeenSet = false;
136 bool m_nextTokenHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace SSM
141} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribePatchPropertiesRequest & WithPatchSet(PatchSet value)
DescribePatchPropertiesRequest & WithNextToken(NextTokenT &&value)
DescribePatchPropertiesRequest & WithOperatingSystem(OperatingSystem value)
AWS_SSM_API Aws::String SerializePayload() const override
DescribePatchPropertiesRequest & WithProperty(PatchProperty value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribePatchPropertiesRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String