AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
AppSummary.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AppSourceConfig.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyGen3 {
22namespace Model {
23
30 public:
31 AWS_AMPLIFYGEN3_API AppSummary() = default;
32 AWS_AMPLIFYGEN3_API AppSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AMPLIFYGEN3_API AppSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAppName() const { return m_appName; }
41 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
42 template <typename AppNameT = Aws::String>
43 void SetAppName(AppNameT&& value) {
44 m_appNameHasBeenSet = true;
45 m_appName = std::forward<AppNameT>(value);
46 }
47 template <typename AppNameT = Aws::String>
48 AppSummary& WithAppName(AppNameT&& value) {
49 SetAppName(std::forward<AppNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAppArn() const { return m_appArn; }
59 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
60 template <typename AppArnT = Aws::String>
61 void SetAppArn(AppArnT&& value) {
62 m_appArnHasBeenSet = true;
63 m_appArn = std::forward<AppArnT>(value);
64 }
65 template <typename AppArnT = Aws::String>
66 AppSummary& WithAppArn(AppArnT&& value) {
67 SetAppArn(std::forward<AppArnT>(value));
68 return *this;
69 }
71
73
76 inline const AppSourceConfig& GetSourceConfig() const { return m_sourceConfig; }
77 inline bool SourceConfigHasBeenSet() const { return m_sourceConfigHasBeenSet; }
78 template <typename SourceConfigT = AppSourceConfig>
79 void SetSourceConfig(SourceConfigT&& value) {
80 m_sourceConfigHasBeenSet = true;
81 m_sourceConfig = std::forward<SourceConfigT>(value);
82 }
83 template <typename SourceConfigT = AppSourceConfig>
84 AppSummary& WithSourceConfig(SourceConfigT&& value) {
85 SetSourceConfig(std::forward<SourceConfigT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) {
98 m_createdAtHasBeenSet = true;
99 m_createdAt = std::forward<CreatedAtT>(value);
100 }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
102 AppSummary& WithCreatedAt(CreatedAtT&& value) {
103 SetCreatedAt(std::forward<CreatedAtT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
114 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
115 template <typename UpdatedAtT = Aws::Utils::DateTime>
116 void SetUpdatedAt(UpdatedAtT&& value) {
117 m_updatedAtHasBeenSet = true;
118 m_updatedAt = std::forward<UpdatedAtT>(value);
119 }
120 template <typename UpdatedAtT = Aws::Utils::DateTime>
121 AppSummary& WithUpdatedAt(UpdatedAtT&& value) {
122 SetUpdatedAt(std::forward<UpdatedAtT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_appName;
128
129 Aws::String m_appArn;
130
131 AppSourceConfig m_sourceConfig;
132
133 Aws::Utils::DateTime m_createdAt{};
134
135 Aws::Utils::DateTime m_updatedAt{};
136 bool m_appNameHasBeenSet = false;
137 bool m_appArnHasBeenSet = false;
138 bool m_sourceConfigHasBeenSet = false;
139 bool m_createdAtHasBeenSet = false;
140 bool m_updatedAtHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace AmplifyGen3
145} // namespace Aws
AppSummary & WithSourceConfig(SourceConfigT &&value)
Definition AppSummary.h:84
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAppName(AppNameT &&value)
Definition AppSummary.h:43
AWS_AMPLIFYGEN3_API AppSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const AppSourceConfig & GetSourceConfig() const
Definition AppSummary.h:76
const Aws::Utils::DateTime & GetCreatedAt() const
Definition AppSummary.h:94
AWS_AMPLIFYGEN3_API AppSummary(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
Definition AppSummary.h:116
void SetCreatedAt(CreatedAtT &&value)
Definition AppSummary.h:97
AWS_AMPLIFYGEN3_API AppSummary()=default
AppSummary & WithUpdatedAt(UpdatedAtT &&value)
Definition AppSummary.h:121
void SetAppArn(AppArnT &&value)
Definition AppSummary.h:61
void SetSourceConfig(SourceConfigT &&value)
Definition AppSummary.h:79
AppSummary & WithAppName(AppNameT &&value)
Definition AppSummary.h:48
const Aws::String & GetAppArn() const
Definition AppSummary.h:58
AppSummary & WithAppArn(AppArnT &&value)
Definition AppSummary.h:66
const Aws::String & GetAppName() const
Definition AppSummary.h:40
AppSummary & WithCreatedAt(CreatedAtT &&value)
Definition AppSummary.h:102
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition AppSummary.h:113
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue