AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ApplicationInfo.h
Go to the documentation of this file.
1
6#pragma once
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 CodeDeploy
24{
25namespace Model
26{
27
34 {
35 public:
40
41
45 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46
50 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
51
55 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
56
60 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
61
65 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
66
70 inline ApplicationInfo& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
71
75 inline ApplicationInfo& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
76
80 inline ApplicationInfo& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
81
82
86 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
87
91 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
92
96 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
97
101 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
102
106 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
107
111 inline ApplicationInfo& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
112
116 inline ApplicationInfo& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
117
121 inline ApplicationInfo& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
122
123
127 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
128
132 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
133
137 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
138
142 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
143
147 inline ApplicationInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
148
152 inline ApplicationInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
153
154
159 inline bool GetLinkedToGitHub() const{ return m_linkedToGitHub; }
160
165 inline bool LinkedToGitHubHasBeenSet() const { return m_linkedToGitHubHasBeenSet; }
166
171 inline void SetLinkedToGitHub(bool value) { m_linkedToGitHubHasBeenSet = true; m_linkedToGitHub = value; }
172
177 inline ApplicationInfo& WithLinkedToGitHub(bool value) { SetLinkedToGitHub(value); return *this;}
178
179
183 inline const Aws::String& GetGitHubAccountName() const{ return m_gitHubAccountName; }
184
188 inline bool GitHubAccountNameHasBeenSet() const { return m_gitHubAccountNameHasBeenSet; }
189
193 inline void SetGitHubAccountName(const Aws::String& value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName = value; }
194
198 inline void SetGitHubAccountName(Aws::String&& value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName = std::move(value); }
199
203 inline void SetGitHubAccountName(const char* value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName.assign(value); }
204
208 inline ApplicationInfo& WithGitHubAccountName(const Aws::String& value) { SetGitHubAccountName(value); return *this;}
209
213 inline ApplicationInfo& WithGitHubAccountName(Aws::String&& value) { SetGitHubAccountName(std::move(value)); return *this;}
214
218 inline ApplicationInfo& WithGitHubAccountName(const char* value) { SetGitHubAccountName(value); return *this;}
219
220
225 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
226
231 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
232
237 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
238
243 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
244
249 inline ApplicationInfo& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
250
255 inline ApplicationInfo& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
256
257 private:
258
259 Aws::String m_applicationId;
260 bool m_applicationIdHasBeenSet = false;
261
262 Aws::String m_applicationName;
263 bool m_applicationNameHasBeenSet = false;
264
265 Aws::Utils::DateTime m_createTime;
266 bool m_createTimeHasBeenSet = false;
267
268 bool m_linkedToGitHub;
269 bool m_linkedToGitHubHasBeenSet = false;
270
271 Aws::String m_gitHubAccountName;
272 bool m_gitHubAccountNameHasBeenSet = false;
273
274 ComputePlatform m_computePlatform;
275 bool m_computePlatformHasBeenSet = false;
276 };
277
278} // namespace Model
279} // namespace CodeDeploy
280} // namespace Aws
#define AWS_CODEDEPLOY_API
ApplicationInfo & WithGitHubAccountName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetComputePlatform(ComputePlatform &&value)
ApplicationInfo & WithComputePlatform(const ComputePlatform &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
ApplicationInfo & WithApplicationId(Aws::String &&value)
void SetComputePlatform(const ComputePlatform &value)
ApplicationInfo & WithApplicationName(const Aws::String &value)
void SetApplicationId(Aws::String &&value)
const Aws::String & GetApplicationId() const
AWS_CODEDEPLOY_API ApplicationInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API ApplicationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGitHubAccountName() const
ApplicationInfo & WithGitHubAccountName(Aws::String &&value)
void SetGitHubAccountName(const Aws::String &value)
void SetApplicationName(const Aws::String &value)
ApplicationInfo & WithApplicationName(const char *value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApplicationName(const char *value)
ApplicationInfo & WithCreateTime(const Aws::Utils::DateTime &value)
void SetGitHubAccountName(Aws::String &&value)
ApplicationInfo & WithApplicationId(const Aws::String &value)
ApplicationInfo & WithComputePlatform(ComputePlatform &&value)
void SetApplicationId(const char *value)
ApplicationInfo & WithCreateTime(Aws::Utils::DateTime &&value)
void SetGitHubAccountName(const char *value)
const ComputePlatform & GetComputePlatform() const
ApplicationInfo & WithGitHubAccountName(const char *value)
void SetApplicationName(Aws::String &&value)
ApplicationInfo & WithApplicationId(const char *value)
ApplicationInfo & WithApplicationName(Aws::String &&value)
const Aws::String & GetApplicationName() const
void SetApplicationId(const Aws::String &value)
ApplicationInfo & WithLinkedToGitHub(bool value)
void SetCreateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String