AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
51 inline DeploymentEventDataSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline DeploymentEventDataSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline DeploymentEventDataSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline DeploymentEventDataSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline DeploymentEventDataSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline DeploymentEventDataSummary& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const EventStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const EventStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(EventStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline DeploymentEventDataSummary& WithStatus(const EventStatus& value) { SetStatus(value); return *this;}
79 inline DeploymentEventDataSummary& WithStatus(EventStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
87 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
88 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
89 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
90 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
91 inline DeploymentEventDataSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
92 inline DeploymentEventDataSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
93 inline DeploymentEventDataSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
101 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
102 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
103 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
104 inline DeploymentEventDataSummary& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
105 inline DeploymentEventDataSummary& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 EventStatus m_status;
116 bool m_statusHasBeenSet = false;
117
118 Aws::String m_statusReason;
119 bool m_statusReasonHasBeenSet = false;
120
121 Aws::Utils::DateTime m_timestamp;
122 bool m_timestampHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace LaunchWizard
127} // namespace Aws
DeploymentEventDataSummary & WithName(Aws::String &&value)
DeploymentEventDataSummary & WithStatusReason(const char *value)
DeploymentEventDataSummary & WithStatusReason(Aws::String &&value)
DeploymentEventDataSummary & WithTimestamp(const Aws::Utils::DateTime &value)
DeploymentEventDataSummary & WithTimestamp(Aws::Utils::DateTime &&value)
DeploymentEventDataSummary & WithName(const char *value)
DeploymentEventDataSummary & WithDescription(const Aws::String &value)
AWS_LAUNCHWIZARD_API DeploymentEventDataSummary(Aws::Utils::Json::JsonView jsonValue)
DeploymentEventDataSummary & WithDescription(const char *value)
DeploymentEventDataSummary & WithName(const Aws::String &value)
AWS_LAUNCHWIZARD_API DeploymentEventDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentEventDataSummary & WithStatus(EventStatus &&value)
DeploymentEventDataSummary & WithDescription(Aws::String &&value)
DeploymentEventDataSummary & WithStatus(const EventStatus &value)
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentEventDataSummary & WithStatusReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue