AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
UpdateApplicationSettingsResult.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-sap/SsmSap_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 SsmSap {
24namespace Model {
26 public:
27 AWS_SSMSAP_API UpdateApplicationSettingsResult() = default;
30
32
35 inline const Aws::String& GetMessage() const { return m_message; }
36 template <typename MessageT = Aws::String>
37 void SetMessage(MessageT&& value) {
38 m_messageHasBeenSet = true;
39 m_message = std::forward<MessageT>(value);
40 }
41 template <typename MessageT = Aws::String>
43 SetMessage(std::forward<MessageT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Vector<Aws::String>& GetOperationIds() const { return m_operationIds; }
53 template <typename OperationIdsT = Aws::Vector<Aws::String>>
54 void SetOperationIds(OperationIdsT&& value) {
55 m_operationIdsHasBeenSet = true;
56 m_operationIds = std::forward<OperationIdsT>(value);
57 }
58 template <typename OperationIdsT = Aws::Vector<Aws::String>>
60 SetOperationIds(std::forward<OperationIdsT>(value));
61 return *this;
62 }
63 template <typename OperationIdsT = Aws::String>
65 m_operationIdsHasBeenSet = true;
66 m_operationIds.emplace_back(std::forward<OperationIdsT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
86
87 private:
88 Aws::String m_message;
89
90 Aws::Vector<Aws::String> m_operationIds;
91
92 Aws::String m_requestId;
93 Aws::Http::HttpResponseCode m_HttpResponseCode;
94 bool m_messageHasBeenSet = false;
95 bool m_operationIdsHasBeenSet = false;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SsmSap
101} // namespace Aws
AWS_SSMSAP_API UpdateApplicationSettingsResult()=default
UpdateApplicationSettingsResult & WithRequestId(RequestIdT &&value)
AWS_SSMSAP_API UpdateApplicationSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApplicationSettingsResult & WithOperationIds(OperationIdsT &&value)
AWS_SSMSAP_API UpdateApplicationSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApplicationSettingsResult & WithMessage(MessageT &&value)
UpdateApplicationSettingsResult & AddOperationIds(OperationIdsT &&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