AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
48 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
49 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
50 inline AWSDomainInformation& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
51 inline AWSDomainInformation& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
52 inline AWSDomainInformation& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
54
56
59 inline const Aws::String& GetDomainName() const{ return m_domainName; }
60 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
61 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
62 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
63 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
64 inline AWSDomainInformation& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
65 inline AWSDomainInformation& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
66 inline AWSDomainInformation& WithDomainName(const char* value) { SetDomainName(value); return *this;}
68
70
73 inline const Aws::String& GetRegion() const{ return m_region; }
74 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
75 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
76 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
77 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
78 inline AWSDomainInformation& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
79 inline AWSDomainInformation& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
80 inline AWSDomainInformation& WithRegion(const char* value) { SetRegion(value); return *this;}
82 private:
83
84 Aws::String m_ownerId;
85 bool m_ownerIdHasBeenSet = false;
86
87 Aws::String m_domainName;
88 bool m_domainNameHasBeenSet = false;
89
90 Aws::String m_region;
91 bool m_regionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace OpenSearchService
96} // namespace Aws
AWSDomainInformation & WithDomainName(const Aws::String &value)
AWSDomainInformation & WithRegion(const char *value)
AWSDomainInformation & WithOwnerId(const Aws::String &value)
AWSDomainInformation & WithOwnerId(const char *value)
AWS_OPENSEARCHSERVICE_API AWSDomainInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AWSDomainInformation(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWSDomainInformation & WithRegion(Aws::String &&value)
AWSDomainInformation & WithRegion(const Aws::String &value)
AWSDomainInformation & WithDomainName(const char *value)
AWSDomainInformation & WithOwnerId(Aws::String &&value)
AWSDomainInformation & WithDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue