AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
LabelParameterVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SSM {
24namespace Model {
26 public:
27 AWS_SSM_API LabelParameterVersionResult() = default;
30
32
39 inline const Aws::Vector<Aws::String>& GetInvalidLabels() const { return m_invalidLabels; }
40 template <typename InvalidLabelsT = Aws::Vector<Aws::String>>
41 void SetInvalidLabels(InvalidLabelsT&& value) {
42 m_invalidLabelsHasBeenSet = true;
43 m_invalidLabels = std::forward<InvalidLabelsT>(value);
44 }
45 template <typename InvalidLabelsT = Aws::Vector<Aws::String>>
47 SetInvalidLabels(std::forward<InvalidLabelsT>(value));
48 return *this;
49 }
50 template <typename InvalidLabelsT = Aws::String>
52 m_invalidLabelsHasBeenSet = true;
53 m_invalidLabels.emplace_back(std::forward<InvalidLabelsT>(value));
54 return *this;
55 }
57
59
62 inline long long GetParameterVersion() const { return m_parameterVersion; }
63 inline void SetParameterVersion(long long value) {
64 m_parameterVersionHasBeenSet = true;
65 m_parameterVersion = value;
66 }
69 return *this;
70 }
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template <typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) {
78 m_requestIdHasBeenSet = true;
79 m_requestId = std::forward<RequestIdT>(value);
80 }
81 template <typename RequestIdT = Aws::String>
83 SetRequestId(std::forward<RequestIdT>(value));
84 return *this;
85 }
87 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
88
89 private:
90 Aws::Vector<Aws::String> m_invalidLabels;
91
92 long long m_parameterVersion{0};
93
94 Aws::String m_requestId;
95 Aws::Http::HttpResponseCode m_HttpResponseCode;
96 bool m_invalidLabelsHasBeenSet = false;
97 bool m_parameterVersionHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SSM
103} // namespace Aws
AWS_SSM_API LabelParameterVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LabelParameterVersionResult & WithInvalidLabels(InvalidLabelsT &&value)
LabelParameterVersionResult & AddInvalidLabels(InvalidLabelsT &&value)
AWS_SSM_API LabelParameterVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LabelParameterVersionResult & WithParameterVersion(long long value)
const Aws::Vector< Aws::String > & GetInvalidLabels() const
LabelParameterVersionResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_SSM_API LabelParameterVersionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue