AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
BatchUpdateExclusionWindowsResult.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/BatchUpdateExclusionWindowsError.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ApplicationSignals {
25namespace Model {
27 public:
28 AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsResult() = default;
30 AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsResult& operator=(
32
34
37 inline const Aws::Vector<Aws::String>& GetSloIds() const { return m_sloIds; }
38 template <typename SloIdsT = Aws::Vector<Aws::String>>
39 void SetSloIds(SloIdsT&& value) {
40 m_sloIdsHasBeenSet = true;
41 m_sloIds = std::forward<SloIdsT>(value);
42 }
43 template <typename SloIdsT = Aws::Vector<Aws::String>>
45 SetSloIds(std::forward<SloIdsT>(value));
46 return *this;
47 }
48 template <typename SloIdsT = Aws::String>
50 m_sloIdsHasBeenSet = true;
51 m_sloIds.emplace_back(std::forward<SloIdsT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<BatchUpdateExclusionWindowsError>& GetErrors() const { return m_errors; }
61 template <typename ErrorsT = Aws::Vector<BatchUpdateExclusionWindowsError>>
62 void SetErrors(ErrorsT&& value) {
63 m_errorsHasBeenSet = true;
64 m_errors = std::forward<ErrorsT>(value);
65 }
66 template <typename ErrorsT = Aws::Vector<BatchUpdateExclusionWindowsError>>
68 SetErrors(std::forward<ErrorsT>(value));
69 return *this;
70 }
71 template <typename ErrorsT = BatchUpdateExclusionWindowsError>
73 m_errorsHasBeenSet = true;
74 m_errors.emplace_back(std::forward<ErrorsT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
97
99
100 Aws::String m_requestId;
101 Aws::Http::HttpResponseCode m_HttpResponseCode;
102 bool m_sloIdsHasBeenSet = false;
103 bool m_errorsHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace ApplicationSignals
109} // namespace Aws
const Aws::Vector< BatchUpdateExclusionWindowsError > & GetErrors() const
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsResult()=default
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchUpdateExclusionWindowsResult & 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