AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelParameterVersionResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SSM
25{
26namespace Model
27{
29 {
30 public:
34
35
37
44 inline const Aws::Vector<Aws::String>& GetInvalidLabels() const{ return m_invalidLabels; }
45 inline void SetInvalidLabels(const Aws::Vector<Aws::String>& value) { m_invalidLabels = value; }
46 inline void SetInvalidLabels(Aws::Vector<Aws::String>&& value) { m_invalidLabels = std::move(value); }
49 inline LabelParameterVersionResult& AddInvalidLabels(const Aws::String& value) { m_invalidLabels.push_back(value); return *this; }
50 inline LabelParameterVersionResult& AddInvalidLabels(Aws::String&& value) { m_invalidLabels.push_back(std::move(value)); return *this; }
51 inline LabelParameterVersionResult& AddInvalidLabels(const char* value) { m_invalidLabels.push_back(value); return *this; }
53
55
58 inline long long GetParameterVersion() const{ return m_parameterVersion; }
59 inline void SetParameterVersion(long long value) { m_parameterVersion = value; }
60 inline LabelParameterVersionResult& WithParameterVersion(long long value) { SetParameterVersion(value); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline LabelParameterVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline LabelParameterVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline LabelParameterVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::Vector<Aws::String> m_invalidLabels;
76
77 long long m_parameterVersion;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace SSM
84} // namespace Aws
LabelParameterVersionResult & WithInvalidLabels(const Aws::Vector< Aws::String > &value)
LabelParameterVersionResult & AddInvalidLabels(const Aws::String &value)
LabelParameterVersionResult & WithRequestId(const Aws::String &value)
AWS_SSM_API LabelParameterVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInvalidLabels(const Aws::Vector< Aws::String > &value)
LabelParameterVersionResult & WithInvalidLabels(Aws::Vector< Aws::String > &&value)
AWS_SSM_API LabelParameterVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LabelParameterVersionResult & WithParameterVersion(long long value)
void SetInvalidLabels(Aws::Vector< Aws::String > &&value)
LabelParameterVersionResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetInvalidLabels() const
LabelParameterVersionResult & AddInvalidLabels(Aws::String &&value)
LabelParameterVersionResult & WithRequestId(Aws::String &&value)
LabelParameterVersionResult & AddInvalidLabels(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue