AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetParametersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSMRequest.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SSM {
16namespace Model {
17
21 public:
22 AWS_SSM_API GetParametersRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetParameters"; }
29
30 AWS_SSM_API Aws::String SerializePayload() const override;
31
33
35
47 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
48 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
49 template <typename NamesT = Aws::Vector<Aws::String>>
50 void SetNames(NamesT&& value) {
51 m_namesHasBeenSet = true;
52 m_names = std::forward<NamesT>(value);
53 }
54 template <typename NamesT = Aws::Vector<Aws::String>>
56 SetNames(std::forward<NamesT>(value));
57 return *this;
58 }
59 template <typename NamesT = Aws::String>
60 GetParametersRequest& AddNames(NamesT&& value) {
61 m_namesHasBeenSet = true;
62 m_names.emplace_back(std::forward<NamesT>(value));
63 return *this;
64 }
66
68
73 inline bool GetWithDecryption() const { return m_withDecryption; }
74 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
75 inline void SetWithDecryption(bool value) {
76 m_withDecryptionHasBeenSet = true;
77 m_withDecryption = value;
78 }
80 SetWithDecryption(value);
81 return *this;
82 }
84 private:
86
87 bool m_withDecryption{false};
88 bool m_namesHasBeenSet = false;
89 bool m_withDecryptionHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace SSM
94} // namespace Aws
AWS_SSM_API GetParametersRequest()=default
GetParametersRequest & AddNames(NamesT &&value)
GetParametersRequest & WithWithDecryption(bool value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API Aws::String SerializePayload() const override
GetParametersRequest & WithNames(NamesT &&value)
const Aws::Vector< Aws::String > & GetNames() const
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
std::vector< T, Aws::Allocator< T > > Vector