AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename OwnerIdT = Aws::String>
40 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
41 template<typename OwnerIdT = Aws::String>
42 DomainInformation& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
44
46
47 inline const Aws::String& GetDomainName() const { return m_domainName; }
48 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 template<typename DomainNameT = Aws::String>
50 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
51 template<typename DomainNameT = Aws::String>
52 DomainInformation& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
54
56
57 inline const Aws::String& GetRegion() const { return m_region; }
58 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
59 template<typename RegionT = Aws::String>
60 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
61 template<typename RegionT = Aws::String>
62 DomainInformation& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
64 private:
65
66 Aws::String m_ownerId;
67 bool m_ownerIdHasBeenSet = false;
68
69 Aws::String m_domainName;
70 bool m_domainNameHasBeenSet = false;
71
72 Aws::String m_region;
73 bool m_regionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ElasticsearchService
78} // namespace Aws
DomainInformation & WithRegion(RegionT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DomainInformation(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DomainInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainInformation & WithOwnerId(OwnerIdT &&value)
AWS_ELASTICSEARCHSERVICE_API DomainInformation()=default
DomainInformation & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue