AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DeploymentEventDataSummary.h
1
6#pragma once
7#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/launch-wizard/model/EventStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LaunchWizard
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LAUNCHWIZARD_API DeploymentEventDataSummary() = default;
39 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDescription() const { return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 template<typename DescriptionT = Aws::String>
49 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
50 template<typename DescriptionT = Aws::String>
51 DeploymentEventDataSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 DeploymentEventDataSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline EventStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(EventStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline DeploymentEventDataSummary& WithStatus(EventStatus value) { SetStatus(value); return *this;}
75
77
80 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
81 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
82 template<typename StatusReasonT = Aws::String>
83 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
84 template<typename StatusReasonT = Aws::String>
85 DeploymentEventDataSummary& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
93 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
94 template<typename TimestampT = Aws::Utils::DateTime>
95 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
96 template<typename TimestampT = Aws::Utils::DateTime>
97 DeploymentEventDataSummary& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
99 private:
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
108 bool m_statusHasBeenSet = false;
109
110 Aws::String m_statusReason;
111 bool m_statusReasonHasBeenSet = false;
112
113 Aws::Utils::DateTime m_timestamp{};
114 bool m_timestampHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace LaunchWizard
119} // 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