AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PutDefaultApplicationSettingResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchService {
22namespace Model {
24 public:
25 AWS_OPENSEARCHSERVICE_API PutDefaultApplicationSettingResult() = default;
29
31
32 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
33 template <typename ApplicationArnT = Aws::String>
34 void SetApplicationArn(ApplicationArnT&& value) {
35 m_applicationArnHasBeenSet = true;
36 m_applicationArn = std::forward<ApplicationArnT>(value);
37 }
38 template <typename ApplicationArnT = Aws::String>
40 SetApplicationArn(std::forward<ApplicationArnT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template <typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) {
50 m_requestIdHasBeenSet = true;
51 m_requestId = std::forward<RequestIdT>(value);
52 }
53 template <typename RequestIdT = Aws::String>
55 SetRequestId(std::forward<RequestIdT>(value));
56 return *this;
57 }
59 private:
60 Aws::String m_applicationArn;
61
62 Aws::String m_requestId;
63 bool m_applicationArnHasBeenSet = false;
64 bool m_requestIdHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace OpenSearchService
69} // namespace Aws
AWS_OPENSEARCHSERVICE_API PutDefaultApplicationSettingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API PutDefaultApplicationSettingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDefaultApplicationSettingResult & WithApplicationArn(ApplicationArnT &&value)
PutDefaultApplicationSettingResult & WithRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API PutDefaultApplicationSettingResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue