AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline UnlabelParameterVersionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline UnlabelParameterVersionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline UnlabelParameterVersionRequest& WithName(const char* value) { SetName(value); return *this;}
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) { m_parameterVersionHasBeenSet = true; m_parameterVersion = value; }
62 inline UnlabelParameterVersionRequest& WithParameterVersion(long long value) { SetParameterVersion(value); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
70 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
71 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
72 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
73 inline UnlabelParameterVersionRequest& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
74 inline UnlabelParameterVersionRequest& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
75 inline UnlabelParameterVersionRequest& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
76 inline UnlabelParameterVersionRequest& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
77 inline UnlabelParameterVersionRequest& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 long long m_parameterVersion;
85 bool m_parameterVersionHasBeenSet = false;
86
88 bool m_labelsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SSM
93} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
UnlabelParameterVersionRequest & AddLabels(const char *value)
UnlabelParameterVersionRequest & AddLabels(Aws::String &&value)
UnlabelParameterVersionRequest & AddLabels(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLabels() const
UnlabelParameterVersionRequest & WithParameterVersion(long long value)
UnlabelParameterVersionRequest & WithLabels(const Aws::Vector< Aws::String > &value)
UnlabelParameterVersionRequest & WithName(const Aws::String &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UnlabelParameterVersionRequest & WithLabels(Aws::Vector< Aws::String > &&value)
UnlabelParameterVersionRequest & WithName(const char *value)
void SetLabels(const Aws::Vector< Aws::String > &value)
UnlabelParameterVersionRequest & WithName(Aws::String &&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