AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UnlabelParameterVersionRequest.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 UnlabelParameterVersionRequest() = 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 "UnlabelParameterVersion"; }
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
59 inline long long GetParameterVersion() const { return m_parameterVersion; }
60 inline bool ParameterVersionHasBeenSet() const { return m_parameterVersionHasBeenSet; }
61 inline void SetParameterVersion(long long value) {
62 m_parameterVersionHasBeenSet = true;
63 m_parameterVersion = value;
64 }
67 return *this;
68 }
70
72
75 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
76 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
77 template <typename LabelsT = Aws::Vector<Aws::String>>
78 void SetLabels(LabelsT&& value) {
79 m_labelsHasBeenSet = true;
80 m_labels = std::forward<LabelsT>(value);
81 }
82 template <typename LabelsT = Aws::Vector<Aws::String>>
84 SetLabels(std::forward<LabelsT>(value));
85 return *this;
86 }
87 template <typename LabelsT = Aws::String>
89 m_labelsHasBeenSet = true;
90 m_labels.emplace_back(std::forward<LabelsT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_name;
96
97 long long m_parameterVersion{0};
98
100 bool m_nameHasBeenSet = false;
101 bool m_parameterVersionHasBeenSet = false;
102 bool m_labelsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SSM
107} // namespace Aws
UnlabelParameterVersionRequest & WithName(NameT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetLabels() const
UnlabelParameterVersionRequest & WithParameterVersion(long long value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UnlabelParameterVersionRequest & WithLabels(LabelsT &&value)
UnlabelParameterVersionRequest & AddLabels(LabelsT &&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