AWS SDK for C++  1.9.41
AWS SDK for C++
GetParameterHistoryRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SSM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "GetParameterHistory"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline GetParameterHistoryRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline GetParameterHistoryRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline GetParameterHistoryRequest& WithName(const char* value) { SetName(value); return *this;}
76 
77 
82  inline bool GetWithDecryption() const{ return m_withDecryption; }
83 
88  inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
89 
94  inline void SetWithDecryption(bool value) { m_withDecryptionHasBeenSet = true; m_withDecryption = value; }
95 
100  inline GetParameterHistoryRequest& WithWithDecryption(bool value) { SetWithDecryption(value); return *this;}
101 
102 
108  inline int GetMaxResults() const{ return m_maxResults; }
109 
115  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
116 
122  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
123 
129  inline GetParameterHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
130 
131 
136  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
137 
142  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
143 
148  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
149 
154  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
155 
160  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
161 
166  inline GetParameterHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
167 
172  inline GetParameterHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
173 
178  inline GetParameterHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
179 
180  private:
181 
182  Aws::String m_name;
183  bool m_nameHasBeenSet;
184 
185  bool m_withDecryption;
186  bool m_withDecryptionHasBeenSet;
187 
188  int m_maxResults;
189  bool m_maxResultsHasBeenSet;
190 
191  Aws::String m_nextToken;
192  bool m_nextTokenHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace SSM
197 } // namespace Aws
Aws::SSM::Model::GetParameterHistoryRequest::GetWithDecryption
bool GetWithDecryption() const
Definition: GetParameterHistoryRequest.h:82
Aws::SSM::Model::GetParameterHistoryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetParameterHistoryRequest.h:148
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::GetParameterHistoryRequest::WithName
GetParameterHistoryRequest & WithName(const Aws::String &value)
Definition: GetParameterHistoryRequest.h:65
Aws::SSM::Model::GetParameterHistoryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::GetParameterHistoryRequest::SetName
void SetName(const char *value)
Definition: GetParameterHistoryRequest.h:60
Aws::SSM::Model::GetParameterHistoryRequest::WithNextToken
GetParameterHistoryRequest & WithNextToken(Aws::String &&value)
Definition: GetParameterHistoryRequest.h:172
Aws::SSM::Model::GetParameterHistoryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetParameterHistoryRequest.h:30
SSM_EXPORTS.h
Aws::SSM::Model::GetParameterHistoryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetParameterHistoryRequest.h:142
Aws::SSM::Model::GetParameterHistoryRequest::WithName
GetParameterHistoryRequest & WithName(const char *value)
Definition: GetParameterHistoryRequest.h:75
Aws::SSM::Model::GetParameterHistoryRequest::WithNextToken
GetParameterHistoryRequest & WithNextToken(const char *value)
Definition: GetParameterHistoryRequest.h:178
Aws::SSM::Model::GetParameterHistoryRequest::SetWithDecryption
void SetWithDecryption(bool value)
Definition: GetParameterHistoryRequest.h:94
Aws::SSM::Model::GetParameterHistoryRequest::WithWithDecryption
GetParameterHistoryRequest & WithWithDecryption(bool value)
Definition: GetParameterHistoryRequest.h:100
AWSString.h
Aws::SSM::Model::GetParameterHistoryRequest::GetName
const Aws::String & GetName() const
Definition: GetParameterHistoryRequest.h:40
Aws::SSM::Model::GetParameterHistoryRequest::WithMaxResults
GetParameterHistoryRequest & WithMaxResults(int value)
Definition: GetParameterHistoryRequest.h:129
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::GetParameterHistoryRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetParameterHistoryRequest.h:45
Aws::SSM::Model::GetParameterHistoryRequest::WithName
GetParameterHistoryRequest & WithName(Aws::String &&value)
Definition: GetParameterHistoryRequest.h:70
Aws::SSM::Model::GetParameterHistoryRequest::WithNextToken
GetParameterHistoryRequest & WithNextToken(const Aws::String &value)
Definition: GetParameterHistoryRequest.h:166
Aws::SSM::Model::GetParameterHistoryRequest::SetName
void SetName(const Aws::String &value)
Definition: GetParameterHistoryRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::GetParameterHistoryRequest::WithDecryptionHasBeenSet
bool WithDecryptionHasBeenSet() const
Definition: GetParameterHistoryRequest.h:88
Aws::SSM::Model::GetParameterHistoryRequest::GetMaxResults
int GetMaxResults() const
Definition: GetParameterHistoryRequest.h:108
Aws::SSM::Model::GetParameterHistoryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetParameterHistoryRequest.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::GetParameterHistoryRequest::SetName
void SetName(Aws::String &&value)
Definition: GetParameterHistoryRequest.h:55
Aws::SSM::Model::GetParameterHistoryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::GetParameterHistoryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetParameterHistoryRequest.h:136
Aws::SSM::Model::GetParameterHistoryRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetParameterHistoryRequest.h:115
Aws::SSM::Model::GetParameterHistoryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetParameterHistoryRequest.h:154
Aws::SSM::Model::GetParameterHistoryRequest::GetParameterHistoryRequest
GetParameterHistoryRequest()
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::GetParameterHistoryRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetParameterHistoryRequest.h:122
SSMRequest.h
Aws::SSM::Model::GetParameterHistoryRequest
Definition: GetParameterHistoryRequest.h:22