AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetParameterHistoryRequest.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 GetParameterHistoryRequest() = 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 "GetParameterHistory"; }
28
29 AWS_SSM_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
58 inline bool GetWithDecryption() const { return m_withDecryption; }
59 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
60 inline void SetWithDecryption(bool value) {
61 m_withDecryptionHasBeenSet = true;
62 m_withDecryption = value;
63 }
65 SetWithDecryption(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
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template <typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) {
97 m_nextTokenHasBeenSet = true;
98 m_nextToken = std::forward<NextTokenT>(value);
99 }
100 template <typename NextTokenT = Aws::String>
102 SetNextToken(std::forward<NextTokenT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_name;
108
109 bool m_withDecryption{false};
110
111 int m_maxResults{0};
112
113 Aws::String m_nextToken;
114 bool m_nameHasBeenSet = false;
115 bool m_withDecryptionHasBeenSet = false;
116 bool m_maxResultsHasBeenSet = false;
117 bool m_nextTokenHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SSM
122} // namespace Aws
GetParameterHistoryRequest & WithName(NameT &&value)
AWS_SSM_API GetParameterHistoryRequest()=default
GetParameterHistoryRequest & WithWithDecryption(bool value)
AWS_SSM_API Aws::String SerializePayload() const override
GetParameterHistoryRequest & WithNextToken(NextTokenT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetParameterHistoryRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String