AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodegenJobSummary.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyUIBuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AMPLIFYUIBUILDER_API CodegenJobSummary() = default;
37 AWS_AMPLIFYUIBUILDER_API CodegenJobSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API CodegenJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAppId() const { return m_appId; }
47 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 template<typename AppIdT = Aws::String>
49 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
50 template<typename AppIdT = Aws::String>
51 CodegenJobSummary& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
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) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
63 template<typename EnvironmentNameT = Aws::String>
64 CodegenJobSummary& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetId() const { return m_id; }
72 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
73 template<typename IdT = Aws::String>
74 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
75 template<typename IdT = Aws::String>
76 CodegenJobSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
84 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
85 template<typename CreatedAtT = Aws::Utils::DateTime>
86 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
87 template<typename CreatedAtT = Aws::Utils::DateTime>
88 CodegenJobSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
96 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
97 template<typename ModifiedAtT = Aws::Utils::DateTime>
98 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
99 template<typename ModifiedAtT = Aws::Utils::DateTime>
100 CodegenJobSummary& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
102 private:
103
104 Aws::String m_appId;
105 bool m_appIdHasBeenSet = false;
106
107 Aws::String m_environmentName;
108 bool m_environmentNameHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::Utils::DateTime m_createdAt{};
114 bool m_createdAtHasBeenSet = false;
115
116 Aws::Utils::DateTime m_modifiedAt{};
117 bool m_modifiedAtHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace AmplifyUIBuilder
122} // 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