AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UnlabelParameterVersionResult.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 UnlabelParameterVersionResult() = default;
30
32
35 inline const Aws::Vector<Aws::String>& GetRemovedLabels() const { return m_removedLabels; }
36 template <typename RemovedLabelsT = Aws::Vector<Aws::String>>
37 void SetRemovedLabels(RemovedLabelsT&& value) {
38 m_removedLabelsHasBeenSet = true;
39 m_removedLabels = std::forward<RemovedLabelsT>(value);
40 }
41 template <typename RemovedLabelsT = Aws::Vector<Aws::String>>
43 SetRemovedLabels(std::forward<RemovedLabelsT>(value));
44 return *this;
45 }
46 template <typename RemovedLabelsT = Aws::String>
48 m_removedLabelsHasBeenSet = true;
49 m_removedLabels.emplace_back(std::forward<RemovedLabelsT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetInvalidLabels() const { return m_invalidLabels; }
59 template <typename InvalidLabelsT = Aws::Vector<Aws::String>>
60 void SetInvalidLabels(InvalidLabelsT&& value) {
61 m_invalidLabelsHasBeenSet = true;
62 m_invalidLabels = std::forward<InvalidLabelsT>(value);
63 }
64 template <typename InvalidLabelsT = Aws::Vector<Aws::String>>
66 SetInvalidLabels(std::forward<InvalidLabelsT>(value));
67 return *this;
68 }
69 template <typename InvalidLabelsT = Aws::String>
71 m_invalidLabelsHasBeenSet = true;
72 m_invalidLabels.emplace_back(std::forward<InvalidLabelsT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
92
93 private:
94 Aws::Vector<Aws::String> m_removedLabels;
95
96 Aws::Vector<Aws::String> m_invalidLabels;
97
98 Aws::String m_requestId;
99 Aws::Http::HttpResponseCode m_HttpResponseCode;
100 bool m_removedLabelsHasBeenSet = false;
101 bool m_invalidLabelsHasBeenSet = false;
102 bool m_requestIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SSM
107} // namespace Aws
UnlabelParameterVersionResult & AddRemovedLabels(RemovedLabelsT &&value)
const Aws::Vector< Aws::String > & GetRemovedLabels() const
AWS_SSM_API UnlabelParameterVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SSM_API UnlabelParameterVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UnlabelParameterVersionResult & WithInvalidLabels(InvalidLabelsT &&value)
UnlabelParameterVersionResult & WithRemovedLabels(RemovedLabelsT &&value)
const Aws::Vector< Aws::String > & GetInvalidLabels() const
UnlabelParameterVersionResult & AddInvalidLabels(InvalidLabelsT &&value)
UnlabelParameterVersionResult & WithRequestId(RequestIdT &&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