AWS SDK for C++

AWS SDK for C++ Version 1.11.553

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
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:
27 AWS_SSM_API DescribePatchPropertiesRequest() = default;
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 OperatingSystem GetOperatingSystem() const { return m_operatingSystem; }
45 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
46 inline void SetOperatingSystem(OperatingSystem value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
49
51
54 inline PatchProperty GetProperty() const { return m_property; }
55 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
56 inline void SetProperty(PatchProperty value) { m_propertyHasBeenSet = true; m_property = value; }
59
61
66 inline PatchSet GetPatchSet() const { return m_patchSet; }
67 inline bool PatchSetHasBeenSet() const { return m_patchSetHasBeenSet; }
68 inline void SetPatchSet(PatchSet value) { m_patchSetHasBeenSet = true; m_patchSet = value; }
69 inline DescribePatchPropertiesRequest& WithPatchSet(PatchSet value) { SetPatchSet(value); return *this;}
71
73
78 inline int GetMaxResults() const { return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
81 inline DescribePatchPropertiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
83
85
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 DescribePatchPropertiesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96 private:
97
99 bool m_operatingSystemHasBeenSet = false;
100
102 bool m_propertyHasBeenSet = false;
103
104 PatchSet m_patchSet{PatchSet::NOT_SET};
105 bool m_patchSetHasBeenSet = false;
106
107 int m_maxResults{0};
108 bool m_maxResultsHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SSM
116} // 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