AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChangeInfo.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/ChangeStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Route53
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53_API ChangeInfo();
37 AWS_ROUTE53_API ChangeInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ROUTE53_API ChangeInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline ChangeInfo& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline ChangeInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline ChangeInfo& WithId(const char* value) { SetId(value); return *this;}
58
60
64 inline const ChangeStatus& GetStatus() const{ return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(const ChangeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
67 inline void SetStatus(ChangeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline ChangeInfo& WithStatus(const ChangeStatus& value) { SetStatus(value); return *this;}
69 inline ChangeInfo& WithStatus(ChangeStatus&& value) { SetStatus(std::move(value)); return *this;}
71
73
80 inline const Aws::Utils::DateTime& GetSubmittedAt() const{ return m_submittedAt; }
81 inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; }
82 inline void SetSubmittedAt(const Aws::Utils::DateTime& value) { m_submittedAtHasBeenSet = true; m_submittedAt = value; }
83 inline void SetSubmittedAt(Aws::Utils::DateTime&& value) { m_submittedAtHasBeenSet = true; m_submittedAt = std::move(value); }
84 inline ChangeInfo& WithSubmittedAt(const Aws::Utils::DateTime& value) { SetSubmittedAt(value); return *this;}
85 inline ChangeInfo& WithSubmittedAt(Aws::Utils::DateTime&& value) { SetSubmittedAt(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetComment() const{ return m_comment; }
93 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
94 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
95 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
96 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
97 inline ChangeInfo& WithComment(const Aws::String& value) { SetComment(value); return *this;}
98 inline ChangeInfo& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
99 inline ChangeInfo& WithComment(const char* value) { SetComment(value); return *this;}
101 private:
102
103 Aws::String m_id;
104 bool m_idHasBeenSet = false;
105
106 ChangeStatus m_status;
107 bool m_statusHasBeenSet = false;
108
109 Aws::Utils::DateTime m_submittedAt;
110 bool m_submittedAtHasBeenSet = false;
111
112 Aws::String m_comment;
113 bool m_commentHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Route53
118} // namespace Aws
ChangeInfo & WithSubmittedAt(Aws::Utils::DateTime &&value)
Definition ChangeInfo.h:85
void SetComment(const char *value)
Definition ChangeInfo.h:96
ChangeInfo & WithComment(const char *value)
Definition ChangeInfo.h:99
const Aws::String & GetId() const
Definition ChangeInfo.h:49
ChangeInfo & WithId(Aws::String &&value)
Definition ChangeInfo.h:55
void SetStatus(ChangeStatus &&value)
Definition ChangeInfo.h:67
const Aws::Utils::DateTime & GetSubmittedAt() const
Definition ChangeInfo.h:80
void SetId(Aws::String &&value)
Definition ChangeInfo.h:52
const Aws::String & GetComment() const
Definition ChangeInfo.h:92
ChangeInfo & WithComment(Aws::String &&value)
Definition ChangeInfo.h:98
void SetStatus(const ChangeStatus &value)
Definition ChangeInfo.h:66
ChangeInfo & WithSubmittedAt(const Aws::Utils::DateTime &value)
Definition ChangeInfo.h:84
const ChangeStatus & GetStatus() const
Definition ChangeInfo.h:64
ChangeInfo & WithId(const Aws::String &value)
Definition ChangeInfo.h:54
void SetComment(const Aws::String &value)
Definition ChangeInfo.h:94
void SetId(const Aws::String &value)
Definition ChangeInfo.h:51
void SetComment(Aws::String &&value)
Definition ChangeInfo.h:95
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API ChangeInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetId(const char *value)
Definition ChangeInfo.h:53
AWS_ROUTE53_API ChangeInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubmittedAt(const Aws::Utils::DateTime &value)
Definition ChangeInfo.h:82
ChangeInfo & WithId(const char *value)
Definition ChangeInfo.h:56
ChangeInfo & WithComment(const Aws::String &value)
Definition ChangeInfo.h:97
void SetSubmittedAt(Aws::Utils::DateTime &&value)
Definition ChangeInfo.h:83
ChangeInfo & WithStatus(ChangeStatus &&value)
Definition ChangeInfo.h:69
ChangeInfo & WithStatus(const ChangeStatus &value)
Definition ChangeInfo.h:68
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String