AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DomainConflict.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/DistributionResourceType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDFRONT_API DomainConflict() = default;
37 AWS_CLOUDFRONT_API DomainConflict(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API DomainConflict& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetDomain() const { return m_domain; }
48 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
49 template<typename DomainT = Aws::String>
50 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
51 template<typename DomainT = Aws::String>
52 DomainConflict& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
54
56
59 inline DistributionResourceType GetResourceType() const { return m_resourceType; }
60 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
61 inline void SetResourceType(DistributionResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
64
66
69 inline const Aws::String& GetResourceId() const { return m_resourceId; }
70 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
71 template<typename ResourceIdT = Aws::String>
72 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
73 template<typename ResourceIdT = Aws::String>
74 DomainConflict& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetAccountId() const { return m_accountId; }
82 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
83 template<typename AccountIdT = Aws::String>
84 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
85 template<typename AccountIdT = Aws::String>
86 DomainConflict& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_domain;
91 bool m_domainHasBeenSet = false;
92
94 bool m_resourceTypeHasBeenSet = false;
95
96 Aws::String m_resourceId;
97 bool m_resourceIdHasBeenSet = false;
98
99 Aws::String m_accountId;
100 bool m_accountIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CloudFront
105} // namespace Aws
DomainConflict & WithAccountId(AccountIdT &&value)
const Aws::String & GetDomain() const
const Aws::String & GetAccountId() const
DomainConflict & WithResourceType(DistributionResourceType value)
void SetAccountId(AccountIdT &&value)
void SetResourceType(DistributionResourceType value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API DomainConflict(const Aws::Utils::Xml::XmlNode &xmlNode)
DomainConflict & WithResourceId(ResourceIdT &&value)
const Aws::String & GetResourceId() const
AWS_CLOUDFRONT_API DomainConflict & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API DomainConflict()=default
void SetResourceId(ResourceIdT &&value)
DomainConflict & WithDomain(DomainT &&value)
DistributionResourceType GetResourceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String