AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceSummary.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/ServiceStatus.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 Proton
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PROTON_API ServiceSummary() = default;
37 AWS_PROTON_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ServiceSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template<typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 ServiceSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 ServiceSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
83 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
84 template<typename LastModifiedAtT = Aws::Utils::DateTime>
85 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
86 template<typename LastModifiedAtT = Aws::Utils::DateTime>
87 ServiceSummary& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
89
91
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 ServiceSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
106 inline ServiceStatus GetStatus() const { return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(ServiceStatus value) { m_statusHasBeenSet = true; m_status = value; }
109 inline ServiceSummary& WithStatus(ServiceStatus value) { SetStatus(value); return *this;}
111
113
116 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
117 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
118 template<typename StatusMessageT = Aws::String>
119 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
120 template<typename StatusMessageT = Aws::String>
121 ServiceSummary& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
123
125
128 inline const Aws::String& GetTemplateName() const { return m_templateName; }
129 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
130 template<typename TemplateNameT = Aws::String>
131 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
132 template<typename TemplateNameT = Aws::String>
133 ServiceSummary& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
135 private:
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::Utils::DateTime m_createdAt{};
141 bool m_createdAtHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastModifiedAt{};
147 bool m_lastModifiedAtHasBeenSet = false;
148
149 Aws::String m_name;
150 bool m_nameHasBeenSet = false;
151
153 bool m_statusHasBeenSet = false;
154
155 Aws::String m_statusMessage;
156 bool m_statusMessageHasBeenSet = false;
157
158 Aws::String m_templateName;
159 bool m_templateNameHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Proton
164} // namespace Aws
void SetDescription(DescriptionT &&value)
ServiceSummary & WithStatusMessage(StatusMessageT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetStatusMessage() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetStatus(ServiceStatus value)
ServiceSummary & WithArn(ArnT &&value)
ServiceSummary & WithLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetTemplateName() const
AWS_PROTON_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetArn() const
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(CreatedAtT &&value)
AWS_PROTON_API ServiceSummary()=default
void SetTemplateName(TemplateNameT &&value)
ServiceSummary & WithCreatedAt(CreatedAtT &&value)
ServiceSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
ServiceSummary & WithStatus(ServiceStatus value)
AWS_PROTON_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetStatusMessage(StatusMessageT &&value)
ServiceSummary & WithName(NameT &&value)
ServiceSummary & WithTemplateName(TemplateNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue