AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidationSummary.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 InvalidationSummary();
35 AWS_CLOUDFRONT_API InvalidationSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API InvalidationSummary& 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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline InvalidationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline InvalidationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline InvalidationSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
60 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
61 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
62 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
63 inline InvalidationSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
64 inline InvalidationSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetStatus() const{ return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
74 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
75 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
76 inline InvalidationSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
77 inline InvalidationSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
78 inline InvalidationSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
80 private:
81
82 Aws::String m_id;
83 bool m_idHasBeenSet = false;
84
85 Aws::Utils::DateTime m_createTime;
86 bool m_createTimeHasBeenSet = false;
87
88 Aws::String m_status;
89 bool m_statusHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudFront
94} // namespace Aws
InvalidationSummary & WithStatus(const Aws::String &value)
InvalidationSummary & WithId(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
InvalidationSummary & WithId(const char *value)
void SetCreateTime(Aws::Utils::DateTime &&value)
InvalidationSummary & WithCreateTime(const Aws::Utils::DateTime &value)
InvalidationSummary & WithStatus(const char *value)
InvalidationSummary & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InvalidationSummary & WithStatus(Aws::String &&value)
AWS_CLOUDFRONT_API InvalidationSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CLOUDFRONT_API InvalidationSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InvalidationSummary & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String