AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 ApplicationSignals {
24namespace Model {
26 public:
27 AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsResult() = default;
29 AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsResult& operator=(
31
33
36 inline const Aws::Vector<Aws::String>& GetSloIds() const { return m_sloIds; }
37 template <typename SloIdsT = Aws::Vector<Aws::String>>
38 void SetSloIds(SloIdsT&& value) {
39 m_sloIdsHasBeenSet = true;
40 m_sloIds = std::forward<SloIdsT>(value);
41 }
42 template <typename SloIdsT = Aws::Vector<Aws::String>>
44 SetSloIds(std::forward<SloIdsT>(value));
45 return *this;
46 }
47 template <typename SloIdsT = Aws::String>
49 m_sloIdsHasBeenSet = true;
50 m_sloIds.emplace_back(std::forward<SloIdsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<BatchUpdateExclusionWindowsError>& GetErrors() const { return m_errors; }
60 template <typename ErrorsT = Aws::Vector<BatchUpdateExclusionWindowsError>>
61 void SetErrors(ErrorsT&& value) {
62 m_errorsHasBeenSet = true;
63 m_errors = std::forward<ErrorsT>(value);
64 }
65 template <typename ErrorsT = Aws::Vector<BatchUpdateExclusionWindowsError>>
67 SetErrors(std::forward<ErrorsT>(value));
68 return *this;
69 }
70 template <typename ErrorsT = BatchUpdateExclusionWindowsError>
72 m_errorsHasBeenSet = true;
73 m_errors.emplace_back(std::forward<ErrorsT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
94
96
97 Aws::String m_requestId;
98 bool m_sloIdsHasBeenSet = false;
99 bool m_errorsHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace ApplicationSignals
105} // 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