AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VpcOriginSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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
32 {
33 public:
34 AWS_CLOUDFRONT_API VpcOriginSummary() = default;
35 AWS_CLOUDFRONT_API VpcOriginSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API VpcOriginSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 VpcOriginSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 VpcOriginSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 template<typename StatusT = Aws::String>
72 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
73 template<typename StatusT = Aws::String>
74 VpcOriginSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
82 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
83 template<typename CreatedTimeT = Aws::Utils::DateTime>
84 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
85 template<typename CreatedTimeT = Aws::Utils::DateTime>
86 VpcOriginSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
94 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
95 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
96 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
97 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
98 VpcOriginSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
100
102
105 inline const Aws::String& GetArn() const { return m_arn; }
106 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
107 template<typename ArnT = Aws::String>
108 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
109 template<typename ArnT = Aws::String>
110 VpcOriginSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
112
114
117 inline const Aws::String& GetOriginEndpointArn() const { return m_originEndpointArn; }
118 inline bool OriginEndpointArnHasBeenSet() const { return m_originEndpointArnHasBeenSet; }
119 template<typename OriginEndpointArnT = Aws::String>
120 void SetOriginEndpointArn(OriginEndpointArnT&& value) { m_originEndpointArnHasBeenSet = true; m_originEndpointArn = std::forward<OriginEndpointArnT>(value); }
121 template<typename OriginEndpointArnT = Aws::String>
122 VpcOriginSummary& WithOriginEndpointArn(OriginEndpointArnT&& value) { SetOriginEndpointArn(std::forward<OriginEndpointArnT>(value)); return *this;}
124 private:
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 Aws::String m_status;
133 bool m_statusHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createdTime{};
136 bool m_createdTimeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_lastModifiedTime{};
139 bool m_lastModifiedTimeHasBeenSet = false;
140
141 Aws::String m_arn;
142 bool m_arnHasBeenSet = false;
143
144 Aws::String m_originEndpointArn;
145 bool m_originEndpointArnHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace CloudFront
150} // namespace Aws
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
VpcOriginSummary & WithArn(ArnT &&value)
VpcOriginSummary & WithName(NameT &&value)
VpcOriginSummary & WithId(IdT &&value)
const Aws::String & GetOriginEndpointArn() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetStatus() const
VpcOriginSummary & WithStatus(StatusT &&value)
AWS_CLOUDFRONT_API VpcOriginSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API VpcOriginSummary()=default
const Aws::Utils::DateTime & GetCreatedTime() const
VpcOriginSummary & WithOriginEndpointArn(OriginEndpointArnT &&value)
VpcOriginSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetOriginEndpointArn(OriginEndpointArnT &&value)
VpcOriginSummary & WithCreatedTime(CreatedTimeT &&value)
AWS_CLOUDFRONT_API VpcOriginSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String