AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DeploymentEventDataSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
10#include <aws/launch-wizard/model/EventStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LaunchWizard {
22namespace Model {
23
30 public:
31 AWS_LAUNCHWIZARD_API DeploymentEventDataSummary() = default;
34 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline EventStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(EventStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
93 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
94 template <typename StatusReasonT = Aws::String>
95 void SetStatusReason(StatusReasonT&& value) {
96 m_statusReasonHasBeenSet = true;
97 m_statusReason = std::forward<StatusReasonT>(value);
98 }
99 template <typename StatusReasonT = Aws::String>
101 SetStatusReason(std::forward<StatusReasonT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
111 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
112 template <typename TimestampT = Aws::Utils::DateTime>
113 void SetTimestamp(TimestampT&& value) {
114 m_timestampHasBeenSet = true;
115 m_timestamp = std::forward<TimestampT>(value);
116 }
117 template <typename TimestampT = Aws::Utils::DateTime>
119 SetTimestamp(std::forward<TimestampT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_name;
125
126 Aws::String m_description;
127
129
130 Aws::String m_statusReason;
131
132 Aws::Utils::DateTime m_timestamp{};
133 bool m_nameHasBeenSet = false;
134 bool m_descriptionHasBeenSet = false;
135 bool m_statusHasBeenSet = false;
136 bool m_statusReasonHasBeenSet = false;
137 bool m_timestampHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace LaunchWizard
142} // namespace Aws
DeploymentEventDataSummary & WithName(NameT &&value)
DeploymentEventDataSummary & WithTimestamp(TimestampT &&value)
DeploymentEventDataSummary & WithStatus(EventStatus value)
AWS_LAUNCHWIZARD_API DeploymentEventDataSummary(Aws::Utils::Json::JsonView jsonValue)
DeploymentEventDataSummary & WithStatusReason(StatusReasonT &&value)
AWS_LAUNCHWIZARD_API DeploymentEventDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentEventDataSummary & WithDescription(DescriptionT &&value)
AWS_LAUNCHWIZARD_API DeploymentEventDataSummary()=default
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue