AWS SDK for C++  1.9.155
AWS SDK for C++
ProductionBranch.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Amplify
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Utils::DateTime& GetLastDeployTime() const{ return m_lastDeployTime; }
46 
50  inline bool LastDeployTimeHasBeenSet() const { return m_lastDeployTimeHasBeenSet; }
51 
55  inline void SetLastDeployTime(const Aws::Utils::DateTime& value) { m_lastDeployTimeHasBeenSet = true; m_lastDeployTime = value; }
56 
60  inline void SetLastDeployTime(Aws::Utils::DateTime&& value) { m_lastDeployTimeHasBeenSet = true; m_lastDeployTime = std::move(value); }
61 
65  inline ProductionBranch& WithLastDeployTime(const Aws::Utils::DateTime& value) { SetLastDeployTime(value); return *this;}
66 
70  inline ProductionBranch& WithLastDeployTime(Aws::Utils::DateTime&& value) { SetLastDeployTime(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetStatus() const{ return m_status; }
77 
81  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 
86  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
87 
91  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 
96  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
97 
101  inline ProductionBranch& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
102 
106  inline ProductionBranch& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
107 
111  inline ProductionBranch& WithStatus(const char* value) { SetStatus(value); return *this;}
112 
113 
117  inline const Aws::String& GetThumbnailUrl() const{ return m_thumbnailUrl; }
118 
122  inline bool ThumbnailUrlHasBeenSet() const { return m_thumbnailUrlHasBeenSet; }
123 
127  inline void SetThumbnailUrl(const Aws::String& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = value; }
128 
132  inline void SetThumbnailUrl(Aws::String&& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = std::move(value); }
133 
137  inline void SetThumbnailUrl(const char* value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl.assign(value); }
138 
142  inline ProductionBranch& WithThumbnailUrl(const Aws::String& value) { SetThumbnailUrl(value); return *this;}
143 
147  inline ProductionBranch& WithThumbnailUrl(Aws::String&& value) { SetThumbnailUrl(std::move(value)); return *this;}
148 
152  inline ProductionBranch& WithThumbnailUrl(const char* value) { SetThumbnailUrl(value); return *this;}
153 
154 
158  inline const Aws::String& GetBranchName() const{ return m_branchName; }
159 
163  inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
164 
168  inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
169 
173  inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
174 
178  inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
179 
183  inline ProductionBranch& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
184 
188  inline ProductionBranch& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
189 
193  inline ProductionBranch& WithBranchName(const char* value) { SetBranchName(value); return *this;}
194 
195  private:
196 
197  Aws::Utils::DateTime m_lastDeployTime;
198  bool m_lastDeployTimeHasBeenSet;
199 
200  Aws::String m_status;
201  bool m_statusHasBeenSet;
202 
203  Aws::String m_thumbnailUrl;
204  bool m_thumbnailUrlHasBeenSet;
205 
206  Aws::String m_branchName;
207  bool m_branchNameHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace Amplify
212 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Amplify_EXPORTS.h
Aws::Amplify::Model::ProductionBranch::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ProductionBranch.h:81
Aws::Amplify::Model::ProductionBranch::WithBranchName
ProductionBranch & WithBranchName(const Aws::String &value)
Definition: ProductionBranch.h:183
Aws::Amplify::Model::ProductionBranch::SetThumbnailUrl
void SetThumbnailUrl(const char *value)
Definition: ProductionBranch.h:137
Aws::Amplify::Model::ProductionBranch
Definition: ProductionBranch.h:34
DateTime.h
Aws::Amplify::Model::ProductionBranch::WithThumbnailUrl
ProductionBranch & WithThumbnailUrl(const Aws::String &value)
Definition: ProductionBranch.h:142
Aws::Amplify::Model::ProductionBranch::WithThumbnailUrl
ProductionBranch & WithThumbnailUrl(Aws::String &&value)
Definition: ProductionBranch.h:147
Aws::Amplify::Model::ProductionBranch::WithThumbnailUrl
ProductionBranch & WithThumbnailUrl(const char *value)
Definition: ProductionBranch.h:152
Aws::Amplify::Model::ProductionBranch::GetBranchName
const Aws::String & GetBranchName() const
Definition: ProductionBranch.h:158
Aws::Amplify::Model::ProductionBranch::GetThumbnailUrl
const Aws::String & GetThumbnailUrl() const
Definition: ProductionBranch.h:117
Aws::Amplify::Model::ProductionBranch::ProductionBranch
ProductionBranch()
Aws::Amplify::Model::ProductionBranch::WithStatus
ProductionBranch & WithStatus(const char *value)
Definition: ProductionBranch.h:111
Aws::Amplify::Model::ProductionBranch::ProductionBranch
ProductionBranch(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::ProductionBranch::GetStatus
const Aws::String & GetStatus() const
Definition: ProductionBranch.h:76
Aws::Amplify::Model::ProductionBranch::SetThumbnailUrl
void SetThumbnailUrl(Aws::String &&value)
Definition: ProductionBranch.h:132
Aws::Amplify::Model::ProductionBranch::ThumbnailUrlHasBeenSet
bool ThumbnailUrlHasBeenSet() const
Definition: ProductionBranch.h:122
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Amplify::Model::ProductionBranch::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Amplify::Model::ProductionBranch::SetBranchName
void SetBranchName(const char *value)
Definition: ProductionBranch.h:178
Aws::Amplify::Model::ProductionBranch::GetLastDeployTime
const Aws::Utils::DateTime & GetLastDeployTime() const
Definition: ProductionBranch.h:45
Aws::Amplify::Model::ProductionBranch::SetLastDeployTime
void SetLastDeployTime(Aws::Utils::DateTime &&value)
Definition: ProductionBranch.h:60
Aws::Amplify::Model::ProductionBranch::WithStatus
ProductionBranch & WithStatus(const Aws::String &value)
Definition: ProductionBranch.h:101
Aws::Amplify::Model::ProductionBranch::WithLastDeployTime
ProductionBranch & WithLastDeployTime(Aws::Utils::DateTime &&value)
Definition: ProductionBranch.h:70
Aws::Amplify::Model::ProductionBranch::BranchNameHasBeenSet
bool BranchNameHasBeenSet() const
Definition: ProductionBranch.h:163
Aws::Amplify::Model::ProductionBranch::WithBranchName
ProductionBranch & WithBranchName(Aws::String &&value)
Definition: ProductionBranch.h:188
Aws::Amplify::Model::ProductionBranch::WithStatus
ProductionBranch & WithStatus(Aws::String &&value)
Definition: ProductionBranch.h:106
Aws::Amplify::Model::ProductionBranch::operator=
ProductionBranch & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::ProductionBranch::SetLastDeployTime
void SetLastDeployTime(const Aws::Utils::DateTime &value)
Definition: ProductionBranch.h:55
Aws::Amplify::Model::ProductionBranch::SetStatus
void SetStatus(const Aws::String &value)
Definition: ProductionBranch.h:86
Aws::Amplify::Model::ProductionBranch::SetBranchName
void SetBranchName(const Aws::String &value)
Definition: ProductionBranch.h:168
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::ProductionBranch::WithLastDeployTime
ProductionBranch & WithLastDeployTime(const Aws::Utils::DateTime &value)
Definition: ProductionBranch.h:65
Aws::Amplify::Model::ProductionBranch::SetThumbnailUrl
void SetThumbnailUrl(const Aws::String &value)
Definition: ProductionBranch.h:127
Aws::Amplify::Model::ProductionBranch::SetStatus
void SetStatus(const char *value)
Definition: ProductionBranch.h:96
Aws::Amplify::Model::ProductionBranch::SetBranchName
void SetBranchName(Aws::String &&value)
Definition: ProductionBranch.h:173
Aws::Amplify::Model::ProductionBranch::SetStatus
void SetStatus(Aws::String &&value)
Definition: ProductionBranch.h:91
Aws::Amplify::Model::ProductionBranch::LastDeployTimeHasBeenSet
bool LastDeployTimeHasBeenSet() const
Definition: ProductionBranch.h:50
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::ProductionBranch::WithBranchName
ProductionBranch & WithBranchName(const char *value)
Definition: ProductionBranch.h:193