AWS SDK for C++  1.9.21
AWS SDK for C++
InvalidationSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline InvalidationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline InvalidationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline InvalidationSummary& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
86 
90  inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
91 
95  inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
96 
100  inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
101 
105  inline InvalidationSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
106 
110  inline InvalidationSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
111 
112 
116  inline const Aws::String& GetStatus() const{ return m_status; }
117 
121  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 
126  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
127 
131  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 
136  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
137 
141  inline InvalidationSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
142 
146  inline InvalidationSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
147 
151  inline InvalidationSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
152 
153  private:
154 
155  Aws::String m_id;
156  bool m_idHasBeenSet;
157 
158  Aws::Utils::DateTime m_createTime;
159  bool m_createTimeHasBeenSet;
160 
161  Aws::String m_status;
162  bool m_statusHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace CloudFront
167 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CloudFront::Model::InvalidationSummary::GetCreateTime
const Aws::Utils::DateTime & GetCreateTime() const
Definition: InvalidationSummary.h:85
Aws::CloudFront::Model::InvalidationSummary::WithId
InvalidationSummary & WithId(Aws::String &&value)
Definition: InvalidationSummary.h:74
Aws::CloudFront::Model::InvalidationSummary::WithId
InvalidationSummary & WithId(const char *value)
Definition: InvalidationSummary.h:79
DateTime.h
Aws::CloudFront::Model::InvalidationSummary::InvalidationSummary
InvalidationSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::InvalidationSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: InvalidationSummary.h:126
Aws::CloudFront::Model::InvalidationSummary::SetStatus
void SetStatus(const char *value)
Definition: InvalidationSummary.h:136
Aws::CloudFront::Model::InvalidationSummary::CreateTimeHasBeenSet
bool CreateTimeHasBeenSet() const
Definition: InvalidationSummary.h:90
Aws::CloudFront::Model::InvalidationSummary::GetId
const Aws::String & GetId() const
Definition: InvalidationSummary.h:44
Aws::CloudFront::Model::InvalidationSummary::GetStatus
const Aws::String & GetStatus() const
Definition: InvalidationSummary.h:116
Aws::CloudFront::Model::InvalidationSummary::WithCreateTime
InvalidationSummary & WithCreateTime(const Aws::Utils::DateTime &value)
Definition: InvalidationSummary.h:105
Aws::CloudFront::Model::InvalidationSummary
Definition: InvalidationSummary.h:32
Aws::CloudFront::Model::InvalidationSummary::WithId
InvalidationSummary & WithId(const Aws::String &value)
Definition: InvalidationSummary.h:69
Aws::CloudFront::Model::InvalidationSummary::operator=
InvalidationSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::InvalidationSummary::SetId
void SetId(const char *value)
Definition: InvalidationSummary.h:64
Aws::CloudFront::Model::InvalidationSummary::WithStatus
InvalidationSummary & WithStatus(const char *value)
Definition: InvalidationSummary.h:151
Aws::CloudFront::Model::InvalidationSummary::SetId
void SetId(const Aws::String &value)
Definition: InvalidationSummary.h:54
AWSString.h
Aws::CloudFront::Model::InvalidationSummary::InvalidationSummary
InvalidationSummary()
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::InvalidationSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: InvalidationSummary.h:49
Aws::CloudFront::Model::InvalidationSummary::SetId
void SetId(Aws::String &&value)
Definition: InvalidationSummary.h:59
CloudFront_EXPORTS.h
Aws::CloudFront::Model::InvalidationSummary::SetCreateTime
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition: InvalidationSummary.h:95
Aws::CloudFront::Model::InvalidationSummary::SetCreateTime
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition: InvalidationSummary.h:100
Aws::CloudFront::Model::InvalidationSummary::WithStatus
InvalidationSummary & WithStatus(Aws::String &&value)
Definition: InvalidationSummary.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::InvalidationSummary::WithStatus
InvalidationSummary & WithStatus(const Aws::String &value)
Definition: InvalidationSummary.h:141
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::InvalidationSummary::WithCreateTime
InvalidationSummary & WithCreateTime(Aws::Utils::DateTime &&value)
Definition: InvalidationSummary.h:110
Aws::CloudFront::Model::InvalidationSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: InvalidationSummary.h:121
Aws::CloudFront::Model::InvalidationSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: InvalidationSummary.h:131
Aws::CloudFront::Model::InvalidationSummary::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const