AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConflictingAlias.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront
21{
22namespace Model
23{
24
35 {
36 public:
37 AWS_CLOUDFRONT_API ConflictingAlias();
38 AWS_CLOUDFRONT_API ConflictingAlias(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFRONT_API ConflictingAlias& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const Aws::String& GetAlias() const{ return m_alias; }
49 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
50 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
51 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
52 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
53 inline ConflictingAlias& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
54 inline ConflictingAlias& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
55 inline ConflictingAlias& WithAlias(const char* value) { SetAlias(value); return *this;}
57
59
63 inline const Aws::String& GetDistributionId() const{ return m_distributionId; }
64 inline bool DistributionIdHasBeenSet() const { return m_distributionIdHasBeenSet; }
65 inline void SetDistributionId(const Aws::String& value) { m_distributionIdHasBeenSet = true; m_distributionId = value; }
66 inline void SetDistributionId(Aws::String&& value) { m_distributionIdHasBeenSet = true; m_distributionId = std::move(value); }
67 inline void SetDistributionId(const char* value) { m_distributionIdHasBeenSet = true; m_distributionId.assign(value); }
68 inline ConflictingAlias& WithDistributionId(const Aws::String& value) { SetDistributionId(value); return *this;}
69 inline ConflictingAlias& WithDistributionId(Aws::String&& value) { SetDistributionId(std::move(value)); return *this;}
70 inline ConflictingAlias& WithDistributionId(const char* value) { SetDistributionId(value); return *this;}
72
74
78 inline const Aws::String& GetAccountId() const{ return m_accountId; }
79 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
80 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
81 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
82 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
83 inline ConflictingAlias& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
84 inline ConflictingAlias& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
85 inline ConflictingAlias& WithAccountId(const char* value) { SetAccountId(value); return *this;}
87 private:
88
89 Aws::String m_alias;
90 bool m_aliasHasBeenSet = false;
91
92 Aws::String m_distributionId;
93 bool m_distributionIdHasBeenSet = false;
94
95 Aws::String m_accountId;
96 bool m_accountIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CloudFront
101} // namespace Aws
ConflictingAlias & WithAccountId(Aws::String &&value)
ConflictingAlias & WithAccountId(const char *value)
ConflictingAlias & WithAlias(const char *value)
ConflictingAlias & WithDistributionId(const Aws::String &value)
ConflictingAlias & WithAlias(const Aws::String &value)
void SetAccountId(const Aws::String &value)
ConflictingAlias & WithAccountId(const Aws::String &value)
void SetDistributionId(const Aws::String &value)
void SetDistributionId(Aws::String &&value)
ConflictingAlias & WithAlias(Aws::String &&value)
ConflictingAlias & WithDistributionId(Aws::String &&value)
const Aws::String & GetDistributionId() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API ConflictingAlias & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API ConflictingAlias(const Aws::Utils::Xml::XmlNode &xmlNode)
ConflictingAlias & WithDistributionId(const char *value)
const Aws::String & GetAccountId() const
void SetAlias(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String