AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LabelParameterVersionRequest.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 LabelParameterVersionRequest() = 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 "LabelParameterVersion"; }
29
30 AWS_SSM_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
60 inline long long GetParameterVersion() const { return m_parameterVersion; }
61 inline bool ParameterVersionHasBeenSet() const { return m_parameterVersionHasBeenSet; }
62 inline void SetParameterVersion(long long value) {
63 m_parameterVersionHasBeenSet = true;
64 m_parameterVersion = value;
65 }
68 return *this;
69 }
71
73
76 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
77 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
78 template <typename LabelsT = Aws::Vector<Aws::String>>
79 void SetLabels(LabelsT&& value) {
80 m_labelsHasBeenSet = true;
81 m_labels = std::forward<LabelsT>(value);
82 }
83 template <typename LabelsT = Aws::Vector<Aws::String>>
85 SetLabels(std::forward<LabelsT>(value));
86 return *this;
87 }
88 template <typename LabelsT = Aws::String>
90 m_labelsHasBeenSet = true;
91 m_labels.emplace_back(std::forward<LabelsT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_name;
97
98 long long m_parameterVersion{0};
99
101 bool m_nameHasBeenSet = false;
102 bool m_parameterVersionHasBeenSet = false;
103 bool m_labelsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace SSM
108} // namespace Aws
AWS_SSM_API LabelParameterVersionRequest()=default
LabelParameterVersionRequest & AddLabels(LabelsT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetLabels() const
LabelParameterVersionRequest & WithName(NameT &&value)
LabelParameterVersionRequest & WithLabels(LabelsT &&value)
LabelParameterVersionRequest & WithParameterVersion(long long 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
std::vector< T, Aws::Allocator< T > > Vector