AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelParameterVersionRequest.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 "LabelParameterVersion"; }
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 LabelParameterVersionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline LabelParameterVersionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline LabelParameterVersionRequest& WithName(const char* value) { SetName(value); return *this;}
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) { m_parameterVersionHasBeenSet = true; m_parameterVersion = value; }
63 inline LabelParameterVersionRequest& WithParameterVersion(long long value) { SetParameterVersion(value); return *this;}
65
67
70 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
71 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
72 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
73 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
74 inline LabelParameterVersionRequest& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
75 inline LabelParameterVersionRequest& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
76 inline LabelParameterVersionRequest& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
77 inline LabelParameterVersionRequest& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
78 inline LabelParameterVersionRequest& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
80 private:
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 long long m_parameterVersion;
86 bool m_parameterVersionHasBeenSet = false;
87
89 bool m_labelsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SSM
94} // namespace Aws
LabelParameterVersionRequest & WithName(const Aws::String &value)
void SetLabels(Aws::Vector< Aws::String > &&value)
void SetLabels(const Aws::Vector< Aws::String > &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
LabelParameterVersionRequest & AddLabels(Aws::String &&value)
AWS_SSM_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetLabels() const
LabelParameterVersionRequest & WithLabels(Aws::Vector< Aws::String > &&value)
LabelParameterVersionRequest & WithLabels(const Aws::Vector< Aws::String > &value)
LabelParameterVersionRequest & AddLabels(const Aws::String &value)
LabelParameterVersionRequest & WithName(const char *value)
LabelParameterVersionRequest & WithParameterVersion(long long value)
LabelParameterVersionRequest & WithName(Aws::String &&value)
LabelParameterVersionRequest & AddLabels(const char *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