AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainInformation.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_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 ElasticsearchService
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_ELASTICSEARCHSERVICE_API DomainInformation();
30 AWS_ELASTICSEARCHSERVICE_API DomainInformation(Aws::Utils::Json::JsonView jsonValue);
31 AWS_ELASTICSEARCHSERVICE_API DomainInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
37 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
38 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
39 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
40 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
41 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
42 inline DomainInformation& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
43 inline DomainInformation& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
44 inline DomainInformation& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
46
48
49 inline const Aws::String& GetDomainName() const{ return m_domainName; }
50 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
52 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
53 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
54 inline DomainInformation& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
55 inline DomainInformation& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
56 inline DomainInformation& WithDomainName(const char* value) { SetDomainName(value); return *this;}
58
60
61 inline const Aws::String& GetRegion() const{ return m_region; }
62 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
63 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
64 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
65 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
66 inline DomainInformation& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
67 inline DomainInformation& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
68 inline DomainInformation& WithRegion(const char* value) { SetRegion(value); return *this;}
70 private:
71
72 Aws::String m_ownerId;
73 bool m_ownerIdHasBeenSet = false;
74
75 Aws::String m_domainName;
76 bool m_domainNameHasBeenSet = false;
77
78 Aws::String m_region;
79 bool m_regionHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ElasticsearchService
84} // namespace Aws
DomainInformation & WithDomainName(const char *value)
DomainInformation & WithDomainName(Aws::String &&value)
DomainInformation & WithRegion(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API DomainInformation()
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DomainInformation(Aws::Utils::Json::JsonView jsonValue)
DomainInformation & WithOwnerId(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API DomainInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainInformation & WithDomainName(const Aws::String &value)
DomainInformation & WithRegion(const Aws::String &value)
DomainInformation & WithOwnerId(const char *value)
DomainInformation & WithOwnerId(const Aws::String &value)
DomainInformation & WithRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue