AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetInventorySchemaRequest.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
11#include <utility>
12
13namespace Aws {
14namespace SSM {
15namespace Model {
16
20 public:
21 AWS_SSM_API GetInventorySchemaRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetInventorySchema"; }
28
29 AWS_SSM_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetTypeName() const { return m_typeName; }
38 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
39 template <typename TypeNameT = Aws::String>
40 void SetTypeName(TypeNameT&& value) {
41 m_typeNameHasBeenSet = true;
42 m_typeName = std::forward<TypeNameT>(value);
43 }
44 template <typename TypeNameT = Aws::String>
46 SetTypeName(std::forward<TypeNameT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 template <typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) {
60 m_nextTokenHasBeenSet = true;
61 m_nextToken = std::forward<NextTokenT>(value);
62 }
63 template <typename NextTokenT = Aws::String>
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
76 inline int GetMaxResults() const { return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) {
79 m_maxResultsHasBeenSet = true;
80 m_maxResults = value;
81 }
83 SetMaxResults(value);
84 return *this;
85 }
87
89
95 inline bool GetAggregator() const { return m_aggregator; }
96 inline bool AggregatorHasBeenSet() const { return m_aggregatorHasBeenSet; }
97 inline void SetAggregator(bool value) {
98 m_aggregatorHasBeenSet = true;
99 m_aggregator = value;
100 }
102 SetAggregator(value);
103 return *this;
104 }
106
108
111 inline bool GetSubType() const { return m_subType; }
112 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
113 inline void SetSubType(bool value) {
114 m_subTypeHasBeenSet = true;
115 m_subType = value;
116 }
118 SetSubType(value);
119 return *this;
120 }
122 private:
123 Aws::String m_typeName;
124
125 Aws::String m_nextToken;
126
127 int m_maxResults{0};
128
129 bool m_aggregator{false};
130
131 bool m_subType{false};
132 bool m_typeNameHasBeenSet = false;
133 bool m_nextTokenHasBeenSet = false;
134 bool m_maxResultsHasBeenSet = false;
135 bool m_aggregatorHasBeenSet = false;
136 bool m_subTypeHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace SSM
141} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
GetInventorySchemaRequest & WithNextToken(NextTokenT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetInventorySchemaRequest & WithSubType(bool value)
AWS_SSM_API GetInventorySchemaRequest()=default
GetInventorySchemaRequest & WithMaxResults(int value)
GetInventorySchemaRequest & WithAggregator(bool value)
virtual const char * GetServiceRequestName() const override
GetInventorySchemaRequest & WithTypeName(TypeNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String