AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UnlabelParameterVersionRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSM_API UnlabelParameterVersionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UnlabelParameterVersion"; }
32
33 AWS_SSM_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 UnlabelParameterVersionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
51
53
57 inline long long GetParameterVersion() const { return m_parameterVersion; }
58 inline bool ParameterVersionHasBeenSet() const { return m_parameterVersionHasBeenSet; }
59 inline void SetParameterVersion(long long value) { m_parameterVersionHasBeenSet = true; m_parameterVersion = value; }
60 inline UnlabelParameterVersionRequest& WithParameterVersion(long long value) { SetParameterVersion(value); return *this;}
62
64
67 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
68 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
69 template<typename LabelsT = Aws::Vector<Aws::String>>
70 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
71 template<typename LabelsT = Aws::Vector<Aws::String>>
72 UnlabelParameterVersionRequest& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
73 template<typename LabelsT = Aws::String>
74 UnlabelParameterVersionRequest& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
76 private:
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
81 long long m_parameterVersion{0};
82 bool m_parameterVersionHasBeenSet = false;
83
85 bool m_labelsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SSM
90} // 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