AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationInfo.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codedeploy/model/ComputePlatform.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 CodeDeploy
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CODEDEPLOY_API ApplicationInfo();
37 AWS_CODEDEPLOY_API ApplicationInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline ApplicationInfo& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline ApplicationInfo& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline ApplicationInfo& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
61 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
62 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
63 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
64 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
65 inline ApplicationInfo& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
66 inline ApplicationInfo& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
67 inline ApplicationInfo& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
75 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
76 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
77 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
78 inline ApplicationInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
79 inline ApplicationInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
81
83
87 inline bool GetLinkedToGitHub() const{ return m_linkedToGitHub; }
88 inline bool LinkedToGitHubHasBeenSet() const { return m_linkedToGitHubHasBeenSet; }
89 inline void SetLinkedToGitHub(bool value) { m_linkedToGitHubHasBeenSet = true; m_linkedToGitHub = value; }
90 inline ApplicationInfo& WithLinkedToGitHub(bool value) { SetLinkedToGitHub(value); return *this;}
92
94
97 inline const Aws::String& GetGitHubAccountName() const{ return m_gitHubAccountName; }
98 inline bool GitHubAccountNameHasBeenSet() const { return m_gitHubAccountNameHasBeenSet; }
99 inline void SetGitHubAccountName(const Aws::String& value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName = value; }
100 inline void SetGitHubAccountName(Aws::String&& value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName = std::move(value); }
101 inline void SetGitHubAccountName(const char* value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName.assign(value); }
102 inline ApplicationInfo& WithGitHubAccountName(const Aws::String& value) { SetGitHubAccountName(value); return *this;}
103 inline ApplicationInfo& WithGitHubAccountName(Aws::String&& value) { SetGitHubAccountName(std::move(value)); return *this;}
104 inline ApplicationInfo& WithGitHubAccountName(const char* value) { SetGitHubAccountName(value); return *this;}
106
108
112 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
113 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
114 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
115 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
116 inline ApplicationInfo& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
117 inline ApplicationInfo& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_applicationId;
122 bool m_applicationIdHasBeenSet = false;
123
124 Aws::String m_applicationName;
125 bool m_applicationNameHasBeenSet = false;
126
127 Aws::Utils::DateTime m_createTime;
128 bool m_createTimeHasBeenSet = false;
129
130 bool m_linkedToGitHub;
131 bool m_linkedToGitHubHasBeenSet = false;
132
133 Aws::String m_gitHubAccountName;
134 bool m_gitHubAccountNameHasBeenSet = false;
135
136 ComputePlatform m_computePlatform;
137 bool m_computePlatformHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace CodeDeploy
142} // namespace Aws
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)
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
Aws::Utils::Json::JsonValue JsonValue