AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetParameterRequest.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 GetParameterRequest() = 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 "GetParameter"; }
28
29 AWS_SSM_API Aws::String SerializePayload() const override;
30
32
34
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
53 GetParameterRequest& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
64 inline bool GetWithDecryption() const { return m_withDecryption; }
65 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
66 inline void SetWithDecryption(bool value) {
67 m_withDecryptionHasBeenSet = true;
68 m_withDecryption = value;
69 }
71 SetWithDecryption(value);
72 return *this;
73 }
75 private:
76 Aws::String m_name;
77
78 bool m_withDecryption{false};
79 bool m_nameHasBeenSet = false;
80 bool m_withDecryptionHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace SSM
85} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
GetParameterRequest & WithWithDecryption(bool value)
AWS_SSM_API GetParameterRequest()=default
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetParameterRequest & WithName(NameT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String