AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CodegenJobSummary.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AmplifyUIBuilder {
21namespace Model {
22
30 public:
31 AWS_AMPLIFYUIBUILDER_API CodegenJobSummary() = default;
32 AWS_AMPLIFYUIBUILDER_API CodegenJobSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AMPLIFYUIBUILDER_API CodegenJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
42 template <typename AppIdT = Aws::String>
43 void SetAppId(AppIdT&& value) {
44 m_appIdHasBeenSet = true;
45 m_appId = std::forward<AppIdT>(value);
46 }
47 template <typename AppIdT = Aws::String>
48 CodegenJobSummary& WithAppId(AppIdT&& value) {
49 SetAppId(std::forward<AppIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
60 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
61 template <typename EnvironmentNameT = Aws::String>
62 void SetEnvironmentName(EnvironmentNameT&& value) {
63 m_environmentNameHasBeenSet = true;
64 m_environmentName = std::forward<EnvironmentNameT>(value);
65 }
66 template <typename EnvironmentNameT = Aws::String>
67 CodegenJobSummary& WithEnvironmentName(EnvironmentNameT&& value) {
68 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetId() const { return m_id; }
78 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
79 template <typename IdT = Aws::String>
80 void SetId(IdT&& value) {
81 m_idHasBeenSet = true;
82 m_id = std::forward<IdT>(value);
83 }
84 template <typename IdT = Aws::String>
85 CodegenJobSummary& WithId(IdT&& value) {
86 SetId(std::forward<IdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) {
99 m_createdAtHasBeenSet = true;
100 m_createdAt = std::forward<CreatedAtT>(value);
101 }
102 template <typename CreatedAtT = Aws::Utils::DateTime>
103 CodegenJobSummary& WithCreatedAt(CreatedAtT&& value) {
104 SetCreatedAt(std::forward<CreatedAtT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
114 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
115 template <typename ModifiedAtT = Aws::Utils::DateTime>
116 void SetModifiedAt(ModifiedAtT&& value) {
117 m_modifiedAtHasBeenSet = true;
118 m_modifiedAt = std::forward<ModifiedAtT>(value);
119 }
120 template <typename ModifiedAtT = Aws::Utils::DateTime>
121 CodegenJobSummary& WithModifiedAt(ModifiedAtT&& value) {
122 SetModifiedAt(std::forward<ModifiedAtT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_appId;
128
129 Aws::String m_environmentName;
130
131 Aws::String m_id;
132
133 Aws::Utils::DateTime m_createdAt{};
134
135 Aws::Utils::DateTime m_modifiedAt{};
136 bool m_appIdHasBeenSet = false;
137 bool m_environmentNameHasBeenSet = false;
138 bool m_idHasBeenSet = false;
139 bool m_createdAtHasBeenSet = false;
140 bool m_modifiedAtHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace AmplifyUIBuilder
145} // namespace Aws
AWS_AMPLIFYUIBUILDER_API CodegenJobSummary()=default
CodegenJobSummary & WithCreatedAt(CreatedAtT &&value)
AWS_AMPLIFYUIBUILDER_API CodegenJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
CodegenJobSummary & WithEnvironmentName(EnvironmentNameT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
CodegenJobSummary & WithAppId(AppIdT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
AWS_AMPLIFYUIBUILDER_API CodegenJobSummary(Aws::Utils::Json::JsonView jsonValue)
CodegenJobSummary & WithModifiedAt(ModifiedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue