AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AWSDomainInformation.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API AWSDomainInformation() = default;
36 AWS_OPENSEARCHSERVICE_API AWSDomainInformation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API AWSDomainInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
46 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
47 template<typename OwnerIdT = Aws::String>
48 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
49 template<typename OwnerIdT = Aws::String>
50 AWSDomainInformation& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDomainName() const { return m_domainName; }
58 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
59 template<typename DomainNameT = Aws::String>
60 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
61 template<typename DomainNameT = Aws::String>
62 AWSDomainInformation& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetRegion() const { return m_region; }
70 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
71 template<typename RegionT = Aws::String>
72 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
73 template<typename RegionT = Aws::String>
74 AWSDomainInformation& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
76 private:
77
78 Aws::String m_ownerId;
79 bool m_ownerIdHasBeenSet = false;
80
81 Aws::String m_domainName;
82 bool m_domainNameHasBeenSet = false;
83
84 Aws::String m_region;
85 bool m_regionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace OpenSearchService
90} // namespace Aws
AWSDomainInformation & WithRegion(RegionT &&value)
AWSDomainInformation & WithDomainName(DomainNameT &&value)
AWS_OPENSEARCHSERVICE_API AWSDomainInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AWSDomainInformation()=default
AWS_OPENSEARCHSERVICE_API AWSDomainInformation(Aws::Utils::Json::JsonView jsonValue)
AWSDomainInformation & WithOwnerId(OwnerIdT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue