7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/BranchBackend.h>
9#include <aws/amplifygen3/model/RestoreSourceBranch.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace AmplifyGen3 {
38 template <
typename AppNameT = Aws::String>
40 m_appNameHasBeenSet =
true;
41 m_appName = std::forward<AppNameT>(value);
43 template <
typename AppNameT = Aws::String>
55 template <
typename EnvironmentNameT = Aws::String>
57 m_environmentNameHasBeenSet =
true;
58 m_environmentName = std::forward<EnvironmentNameT>(value);
60 template <
typename EnvironmentNameT = Aws::String>
72 template <
typename BranchNameT = Aws::String>
74 m_branchNameHasBeenSet =
true;
75 m_branchName = std::forward<BranchNameT>(value);
77 template <
typename BranchNameT = Aws::String>
89 template <
typename BranchArnT = Aws::String>
91 m_branchArnHasBeenSet =
true;
92 m_branchArn = std::forward<BranchArnT>(value);
94 template <
typename BranchArnT = Aws::String>
107 template <
typename GitBranchNameT = Aws::String>
109 m_gitBranchNameHasBeenSet =
true;
110 m_gitBranchName = std::forward<GitBranchNameT>(value);
112 template <
typename GitBranchNameT = Aws::String>
125 template <
typename CreatedAtT = Aws::Utils::DateTime>
127 m_createdAtHasBeenSet =
true;
128 m_createdAt = std::forward<CreatedAtT>(value);
130 template <
typename CreatedAtT = Aws::Utils::DateTime>
143 template <
typename BackendT = BranchBackend>
145 m_backendHasBeenSet =
true;
146 m_backend = std::forward<BackendT>(value);
148 template <
typename BackendT = BranchBackend>
161 template <
typename SourceBranchT = RestoreSourceBranch>
163 m_sourceBranchHasBeenSet =
true;
164 m_sourceBranch = std::forward<SourceBranchT>(value);
166 template <
typename SourceBranchT = RestoreSourceBranch>
176 template <
typename RequestIdT = Aws::String>
178 m_requestIdHasBeenSet =
true;
179 m_requestId = std::forward<RequestIdT>(value);
181 template <
typename RequestIdT = Aws::String>
202 BranchBackend m_backend;
204 RestoreSourceBranch m_sourceBranch;
208 bool m_appNameHasBeenSet =
false;
209 bool m_environmentNameHasBeenSet =
false;
210 bool m_branchNameHasBeenSet =
false;
211 bool m_branchArnHasBeenSet =
false;
212 bool m_gitBranchNameHasBeenSet =
false;
213 bool m_createdAtHasBeenSet =
false;
214 bool m_backendHasBeenSet =
false;
215 bool m_sourceBranchHasBeenSet =
false;
216 bool m_requestIdHasBeenSet =
false;
void SetBranchArn(BranchArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const BranchBackend & GetBackend() const
void SetGitBranchName(GitBranchNameT &&value)
const Aws::String & GetBranchArn() const
const Aws::String & GetBranchName() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetBranchResult & WithRequestId(RequestIdT &&value)
void SetBackend(BackendT &&value)
const Aws::String & GetRequestId() const
GetBranchResult & WithGitBranchName(GitBranchNameT &&value)
GetBranchResult & WithBranchName(BranchNameT &&value)
GetBranchResult & WithBranchArn(BranchArnT &&value)
GetBranchResult & WithSourceBranch(SourceBranchT &&value)
const Aws::String & GetAppName() const
AWS_AMPLIFYGEN3_API GetBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBranchResult & WithAppName(AppNameT &&value)
GetBranchResult & WithEnvironmentName(EnvironmentNameT &&value)
void SetBranchName(BranchNameT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
AWS_AMPLIFYGEN3_API GetBranchResult()=default
void SetSourceBranch(SourceBranchT &&value)
GetBranchResult & WithBackend(BackendT &&value)
void SetAppName(AppNameT &&value)
GetBranchResult & WithCreatedAt(CreatedAtT &&value)
const RestoreSourceBranch & GetSourceBranch() const
void SetRequestId(RequestIdT &&value)
AWS_AMPLIFYGEN3_API GetBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetEnvironmentName() const
const Aws::String & GetGitBranchName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue