AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetParameterRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SSM
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SSM_API GetParameterRequest();
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_SSM_API Aws::String SerializePayload() const override;
33
35
36
38
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline GetParameterRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline GetParameterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline GetParameterRequest& WithName(const char* value) { SetName(value); return *this;}
58
60
64 inline bool GetWithDecryption() const{ return m_withDecryption; }
65 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
66 inline void SetWithDecryption(bool value) { m_withDecryptionHasBeenSet = true; m_withDecryption = value; }
67 inline GetParameterRequest& WithWithDecryption(bool value) { SetWithDecryption(value); return *this;}
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
74 bool m_withDecryption;
75 bool m_withDecryptionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SSM
80} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
GetParameterRequest & WithWithDecryption(bool value)
GetParameterRequest & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
GetParameterRequest & WithName(const char *value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API Aws::String SerializePayload() const override
GetParameterRequest & WithName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String