AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UnlabelParameterVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SSM {
23namespace Model {
25 public:
26 AWS_SSM_API UnlabelParameterVersionResult() = default;
29
31
34 inline const Aws::Vector<Aws::String>& GetRemovedLabels() const { return m_removedLabels; }
35 template <typename RemovedLabelsT = Aws::Vector<Aws::String>>
36 void SetRemovedLabels(RemovedLabelsT&& value) {
37 m_removedLabelsHasBeenSet = true;
38 m_removedLabels = std::forward<RemovedLabelsT>(value);
39 }
40 template <typename RemovedLabelsT = Aws::Vector<Aws::String>>
42 SetRemovedLabels(std::forward<RemovedLabelsT>(value));
43 return *this;
44 }
45 template <typename RemovedLabelsT = Aws::String>
47 m_removedLabelsHasBeenSet = true;
48 m_removedLabels.emplace_back(std::forward<RemovedLabelsT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Vector<Aws::String>& GetInvalidLabels() const { return m_invalidLabels; }
58 template <typename InvalidLabelsT = Aws::Vector<Aws::String>>
59 void SetInvalidLabels(InvalidLabelsT&& value) {
60 m_invalidLabelsHasBeenSet = true;
61 m_invalidLabels = std::forward<InvalidLabelsT>(value);
62 }
63 template <typename InvalidLabelsT = Aws::Vector<Aws::String>>
65 SetInvalidLabels(std::forward<InvalidLabelsT>(value));
66 return *this;
67 }
68 template <typename InvalidLabelsT = Aws::String>
70 m_invalidLabelsHasBeenSet = true;
71 m_invalidLabels.emplace_back(std::forward<InvalidLabelsT>(value));
72 return *this;
73 }
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template <typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) {
81 m_requestIdHasBeenSet = true;
82 m_requestId = std::forward<RequestIdT>(value);
83 }
84 template <typename RequestIdT = Aws::String>
86 SetRequestId(std::forward<RequestIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::Vector<Aws::String> m_removedLabels;
92
93 Aws::Vector<Aws::String> m_invalidLabels;
94
95 Aws::String m_requestId;
96 bool m_removedLabelsHasBeenSet = false;
97 bool m_invalidLabelsHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SSM
103} // 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