AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
CompareDomainConfigurationRequest.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/opensearch/OpenSearchServiceRequest.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace OpenSearchService {
16namespace Model {
17
21 public:
22 AWS_OPENSEARCHSERVICE_API CompareDomainConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CompareDomainConfiguration"; }
29
30 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetSourceDomainArn() const { return m_sourceDomainArn; }
37 inline bool SourceDomainArnHasBeenSet() const { return m_sourceDomainArnHasBeenSet; }
38 template <typename SourceDomainArnT = Aws::String>
39 void SetSourceDomainArn(SourceDomainArnT&& value) {
40 m_sourceDomainArnHasBeenSet = true;
41 m_sourceDomainArn = std::forward<SourceDomainArnT>(value);
42 }
43 template <typename SourceDomainArnT = Aws::String>
45 SetSourceDomainArn(std::forward<SourceDomainArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetTargetDomainArn() const { return m_targetDomainArn; }
55 inline bool TargetDomainArnHasBeenSet() const { return m_targetDomainArnHasBeenSet; }
56 template <typename TargetDomainArnT = Aws::String>
57 void SetTargetDomainArn(TargetDomainArnT&& value) {
58 m_targetDomainArnHasBeenSet = true;
59 m_targetDomainArn = std::forward<TargetDomainArnT>(value);
60 }
61 template <typename TargetDomainArnT = Aws::String>
63 SetTargetDomainArn(std::forward<TargetDomainArnT>(value));
64 return *this;
65 }
67
69
85 inline const Aws::Vector<Aws::String>& GetCategories() const { return m_categories; }
86 inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; }
87 template <typename CategoriesT = Aws::Vector<Aws::String>>
88 void SetCategories(CategoriesT&& value) {
89 m_categoriesHasBeenSet = true;
90 m_categories = std::forward<CategoriesT>(value);
91 }
92 template <typename CategoriesT = Aws::Vector<Aws::String>>
94 SetCategories(std::forward<CategoriesT>(value));
95 return *this;
96 }
97 template <typename CategoriesT = Aws::String>
99 m_categoriesHasBeenSet = true;
100 m_categories.emplace_back(std::forward<CategoriesT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_sourceDomainArn;
106
107 Aws::String m_targetDomainArn;
108
109 Aws::Vector<Aws::String> m_categories;
110 bool m_sourceDomainArnHasBeenSet = false;
111 bool m_targetDomainArnHasBeenSet = false;
112 bool m_categoriesHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace OpenSearchService
117} // namespace Aws
CompareDomainConfigurationRequest & WithCategories(CategoriesT &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
CompareDomainConfigurationRequest & WithTargetDomainArn(TargetDomainArnT &&value)
AWS_OPENSEARCHSERVICE_API CompareDomainConfigurationRequest()=default
CompareDomainConfigurationRequest & AddCategories(CategoriesT &&value)
CompareDomainConfigurationRequest & WithSourceDomainArn(SourceDomainArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector