AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePatchPropertiesRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/model/OperatingSystem.h>
10#include <aws/ssm/model/PatchProperty.h>
11#include <aws/ssm/model/PatchSet.h>
12#include <aws/core/utils/memory/stl/AWSString.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 "DescribePatchProperties"; }
34
35 AWS_SSM_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
45 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
46 inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
47 inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
49 inline DescribePatchPropertiesRequest& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
51
53
56 inline const PatchProperty& GetProperty() const{ return m_property; }
57 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
58 inline void SetProperty(const PatchProperty& value) { m_propertyHasBeenSet = true; m_property = value; }
59 inline void SetProperty(PatchProperty&& value) { m_propertyHasBeenSet = true; m_property = std::move(value); }
60 inline DescribePatchPropertiesRequest& WithProperty(const PatchProperty& value) { SetProperty(value); return *this;}
61 inline DescribePatchPropertiesRequest& WithProperty(PatchProperty&& value) { SetProperty(std::move(value)); return *this;}
63
65
70 inline const PatchSet& GetPatchSet() const{ return m_patchSet; }
71 inline bool PatchSetHasBeenSet() const { return m_patchSetHasBeenSet; }
72 inline void SetPatchSet(const PatchSet& value) { m_patchSetHasBeenSet = true; m_patchSet = value; }
73 inline void SetPatchSet(PatchSet&& value) { m_patchSetHasBeenSet = true; m_patchSet = std::move(value); }
74 inline DescribePatchPropertiesRequest& WithPatchSet(const PatchSet& value) { SetPatchSet(value); return *this;}
75 inline DescribePatchPropertiesRequest& WithPatchSet(PatchSet&& value) { SetPatchSet(std::move(value)); return *this;}
77
79
84 inline int GetMaxResults() const{ return m_maxResults; }
85 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
86 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
87 inline DescribePatchPropertiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
89
91
95 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
98 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
99 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
100 inline DescribePatchPropertiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 inline DescribePatchPropertiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 inline DescribePatchPropertiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
104 private:
105
106 OperatingSystem m_operatingSystem;
107 bool m_operatingSystemHasBeenSet = false;
108
109 PatchProperty m_property;
110 bool m_propertyHasBeenSet = false;
111
112 PatchSet m_patchSet;
113 bool m_patchSetHasBeenSet = false;
114
115 int m_maxResults;
116 bool m_maxResultsHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SSM
124} // namespace Aws
DescribePatchPropertiesRequest & WithProperty(const PatchProperty &value)
DescribePatchPropertiesRequest & WithPatchSet(const PatchSet &value)
virtual const char * GetServiceRequestName() const override
DescribePatchPropertiesRequest & WithNextToken(Aws::String &&value)
DescribePatchPropertiesRequest & WithOperatingSystem(const OperatingSystem &value)
DescribePatchPropertiesRequest & WithOperatingSystem(OperatingSystem &&value)
DescribePatchPropertiesRequest & WithProperty(PatchProperty &&value)
DescribePatchPropertiesRequest & WithNextToken(const Aws::String &value)
DescribePatchPropertiesRequest & WithPatchSet(PatchSet &&value)
DescribePatchPropertiesRequest & WithNextToken(const char *value)
AWS_SSM_API Aws::String SerializePayload() const override
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