AWS SDK for C++  1.9.107
AWS SDK for C++
DescribePatchPropertiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
8 #include <aws/ssm/SSMRequest.h>
11 #include <aws/ssm/model/PatchSet.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SSM
18 {
19 namespace 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 "DescribePatchProperties"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
44 
48  inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
49 
53  inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
54 
58  inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
59 
63  inline DescribePatchPropertiesRequest& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
64 
68  inline DescribePatchPropertiesRequest& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
69 
70 
74  inline const PatchProperty& GetProperty() const{ return m_property; }
75 
79  inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
80 
84  inline void SetProperty(const PatchProperty& value) { m_propertyHasBeenSet = true; m_property = value; }
85 
89  inline void SetProperty(PatchProperty&& value) { m_propertyHasBeenSet = true; m_property = std::move(value); }
90 
94  inline DescribePatchPropertiesRequest& WithProperty(const PatchProperty& value) { SetProperty(value); return *this;}
95 
99  inline DescribePatchPropertiesRequest& WithProperty(PatchProperty&& value) { SetProperty(std::move(value)); return *this;}
100 
101 
107  inline const PatchSet& GetPatchSet() const{ return m_patchSet; }
108 
114  inline bool PatchSetHasBeenSet() const { return m_patchSetHasBeenSet; }
115 
121  inline void SetPatchSet(const PatchSet& value) { m_patchSetHasBeenSet = true; m_patchSet = value; }
122 
128  inline void SetPatchSet(PatchSet&& value) { m_patchSetHasBeenSet = true; m_patchSet = std::move(value); }
129 
135  inline DescribePatchPropertiesRequest& WithPatchSet(const PatchSet& value) { SetPatchSet(value); return *this;}
136 
142  inline DescribePatchPropertiesRequest& WithPatchSet(PatchSet&& value) { SetPatchSet(std::move(value)); return *this;}
143 
144 
150  inline int GetMaxResults() const{ return m_maxResults; }
151 
157  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
158 
164  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
165 
171  inline DescribePatchPropertiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
172 
173 
178  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
179 
184  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
185 
190  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
191 
196  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
197 
202  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
203 
208  inline DescribePatchPropertiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
209 
214  inline DescribePatchPropertiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
215 
220  inline DescribePatchPropertiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
221 
222  private:
223 
224  OperatingSystem m_operatingSystem;
225  bool m_operatingSystemHasBeenSet;
226 
227  PatchProperty m_property;
228  bool m_propertyHasBeenSet;
229 
230  PatchSet m_patchSet;
231  bool m_patchSetHasBeenSet;
232 
233  int m_maxResults;
234  bool m_maxResultsHasBeenSet;
235 
236  Aws::String m_nextToken;
237  bool m_nextTokenHasBeenSet;
238  };
239 
240 } // namespace Model
241 } // namespace SSM
242 } // namespace Aws
Aws::SSM::Model::DescribePatchPropertiesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribePatchPropertiesRequest.h:157
Aws::SSM::Model::DescribePatchPropertiesRequest::WithNextToken
DescribePatchPropertiesRequest & WithNextToken(const char *value)
Definition: DescribePatchPropertiesRequest.h:220
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
PatchSet.h
Aws::SSM::Model::DescribePatchPropertiesRequest::WithPatchSet
DescribePatchPropertiesRequest & WithPatchSet(const PatchSet &value)
Definition: DescribePatchPropertiesRequest.h:135
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::DescribePatchPropertiesRequest::GetOperatingSystem
const OperatingSystem & GetOperatingSystem() const
Definition: DescribePatchPropertiesRequest.h:43
Aws::SSM::Model::DescribePatchPropertiesRequest::WithPatchSet
DescribePatchPropertiesRequest & WithPatchSet(PatchSet &&value)
Definition: DescribePatchPropertiesRequest.h:142
Aws::SSM::Model::DescribePatchPropertiesRequest::SetOperatingSystem
void SetOperatingSystem(const OperatingSystem &value)
Definition: DescribePatchPropertiesRequest.h:53
Aws::SSM::Model::DescribePatchPropertiesRequest::OperatingSystemHasBeenSet
bool OperatingSystemHasBeenSet() const
Definition: DescribePatchPropertiesRequest.h:48
SSM_EXPORTS.h
Aws::SSM::Model::DescribePatchPropertiesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribePatchPropertiesRequest.h:196
Aws::SSM::Model::DescribePatchPropertiesRequest::WithNextToken
DescribePatchPropertiesRequest & WithNextToken(const Aws::String &value)
Definition: DescribePatchPropertiesRequest.h:208
Aws::SSM::Model::DescribePatchPropertiesRequest::PropertyHasBeenSet
bool PropertyHasBeenSet() const
Definition: DescribePatchPropertiesRequest.h:79
Aws::SSM::Model::PatchProperty
PatchProperty
Definition: PatchProperty.h:17
Aws::SSM::Model::DescribePatchPropertiesRequest::WithOperatingSystem
DescribePatchPropertiesRequest & WithOperatingSystem(const OperatingSystem &value)
Definition: DescribePatchPropertiesRequest.h:63
Aws::SSM::Model::DescribePatchPropertiesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribePatchPropertiesRequest.h:178
Aws::SSM::Model::DescribePatchPropertiesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribePatchPropertiesRequest.h:190
Aws::SSM::Model::DescribePatchPropertiesRequest::SetPatchSet
void SetPatchSet(PatchSet &&value)
Definition: DescribePatchPropertiesRequest.h:128
Aws::SSM::Model::DescribePatchPropertiesRequest::WithProperty
DescribePatchPropertiesRequest & WithProperty(PatchProperty &&value)
Definition: DescribePatchPropertiesRequest.h:99
Aws::SSM::Model::OperatingSystem
OperatingSystem
Definition: OperatingSystem.h:17
Aws::SSM::Model::DescribePatchPropertiesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribePatchPropertiesRequest.h:184
Aws::SSM::Model::DescribePatchPropertiesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribePatchPropertiesRequest.h:202
Aws::SSM::Model::DescribePatchPropertiesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribePatchPropertiesRequest.h:164
Aws::SSM::Model::DescribePatchPropertiesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribePatchPropertiesRequest.h:150
Aws::SSM::Model::DescribePatchPropertiesRequest::PatchSetHasBeenSet
bool PatchSetHasBeenSet() const
Definition: DescribePatchPropertiesRequest.h:114
Aws::SSM::Model::DescribePatchPropertiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePatchPropertiesRequest.h:33
Aws::SSM::Model::DescribePatchPropertiesRequest::SetOperatingSystem
void SetOperatingSystem(OperatingSystem &&value)
Definition: DescribePatchPropertiesRequest.h:58
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
OperatingSystem.h
Aws::SSM::Model::DescribePatchPropertiesRequest::GetPatchSet
const PatchSet & GetPatchSet() const
Definition: DescribePatchPropertiesRequest.h:107
Aws::SSM::Model::DescribePatchPropertiesRequest::GetProperty
const PatchProperty & GetProperty() const
Definition: DescribePatchPropertiesRequest.h:74
Aws::SSM::Model::DescribePatchPropertiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::DescribePatchPropertiesRequest::WithNextToken
DescribePatchPropertiesRequest & WithNextToken(Aws::String &&value)
Definition: DescribePatchPropertiesRequest.h:214
Aws::SSM::Model::PatchSet
PatchSet
Definition: PatchSet.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::DescribePatchPropertiesRequest::SetPatchSet
void SetPatchSet(const PatchSet &value)
Definition: DescribePatchPropertiesRequest.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::DescribePatchPropertiesRequest::WithProperty
DescribePatchPropertiesRequest & WithProperty(const PatchProperty &value)
Definition: DescribePatchPropertiesRequest.h:94
Aws::SSM::Model::DescribePatchPropertiesRequest::DescribePatchPropertiesRequest
DescribePatchPropertiesRequest()
Aws::SSM::Model::DescribePatchPropertiesRequest
Definition: DescribePatchPropertiesRequest.h:25
Aws::SSM::Model::DescribePatchPropertiesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::DescribePatchPropertiesRequest::SetProperty
void SetProperty(const PatchProperty &value)
Definition: DescribePatchPropertiesRequest.h:84
Aws::SSM::Model::DescribePatchPropertiesRequest::SetProperty
void SetProperty(PatchProperty &&value)
Definition: DescribePatchPropertiesRequest.h:89
SSMRequest.h
Aws::SSM::Model::DescribePatchPropertiesRequest::WithMaxResults
DescribePatchPropertiesRequest & WithMaxResults(int value)
Definition: DescribePatchPropertiesRequest.h:171
PatchProperty.h
Aws::SSM::Model::DescribePatchPropertiesRequest::WithOperatingSystem
DescribePatchPropertiesRequest & WithOperatingSystem(OperatingSystem &&value)
Definition: DescribePatchPropertiesRequest.h:68