AWS SDK for C++  1.8.129
AWS SDK for C++
GetParameterRequest.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 "GetParameter"; }
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 GetParameterRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline GetParameterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline GetParameterRequest& 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 GetParameterRequest& WithWithDecryption(bool value) { SetWithDecryption(value); return *this;}
101 
102  private:
103 
104  Aws::String m_name;
105  bool m_nameHasBeenSet;
106 
107  bool m_withDecryption;
108  bool m_withDecryptionHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace SSM
113 } // namespace Aws
Aws::SSM::Model::GetParameterRequest::WithName
GetParameterRequest & WithName(Aws::String &&value)
Definition: GetParameterRequest.h:70
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::GetParameterRequest::WithWithDecryption
GetParameterRequest & WithWithDecryption(bool value)
Definition: GetParameterRequest.h:100
Aws::SSM::Model::GetParameterRequest
Definition: GetParameterRequest.h:22
Aws::SSM::Model::GetParameterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetParameterRequest.h:30
Aws::SSM::Model::GetParameterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::GetParameterRequest::GetParameterRequest
GetParameterRequest()
Aws::SSM::Model::GetParameterRequest::SetName
void SetName(const char *value)
Definition: GetParameterRequest.h:60
SSM_EXPORTS.h
Aws::SSM::Model::GetParameterRequest::SetName
void SetName(const Aws::String &value)
Definition: GetParameterRequest.h:50
Aws::SSM::Model::GetParameterRequest::SetWithDecryption
void SetWithDecryption(bool value)
Definition: GetParameterRequest.h:94
Aws::SSM::Model::GetParameterRequest::GetName
const Aws::String & GetName() const
Definition: GetParameterRequest.h:40
Aws::SSM::Model::GetParameterRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetParameterRequest.h:45
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::GetParameterRequest::WithDecryptionHasBeenSet
bool WithDecryptionHasBeenSet() const
Definition: GetParameterRequest.h:88
Aws::SSM::Model::GetParameterRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::GetParameterRequest::WithName
GetParameterRequest & WithName(const Aws::String &value)
Definition: GetParameterRequest.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::GetParameterRequest::GetWithDecryption
bool GetWithDecryption() const
Definition: GetParameterRequest.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::GetParameterRequest::WithName
GetParameterRequest & WithName(const char *value)
Definition: GetParameterRequest.h:75
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
SSMRequest.h
Aws::SSM::Model::GetParameterRequest::SetName
void SetName(Aws::String &&value)
Definition: GetParameterRequest.h:55