AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProductionBranch.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Amplify
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AMPLIFY_API ProductionBranch() = default;
37 AWS_AMPLIFY_API ProductionBranch(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetLastDeployTime() const { return m_lastDeployTime; }
47 inline bool LastDeployTimeHasBeenSet() const { return m_lastDeployTimeHasBeenSet; }
48 template<typename LastDeployTimeT = Aws::Utils::DateTime>
49 void SetLastDeployTime(LastDeployTimeT&& value) { m_lastDeployTimeHasBeenSet = true; m_lastDeployTime = std::forward<LastDeployTimeT>(value); }
50 template<typename LastDeployTimeT = Aws::Utils::DateTime>
51 ProductionBranch& WithLastDeployTime(LastDeployTimeT&& value) { SetLastDeployTime(std::forward<LastDeployTimeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetStatus() const { return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 template<typename StatusT = Aws::String>
61 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
62 template<typename StatusT = Aws::String>
63 ProductionBranch& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
65
67
70 inline const Aws::String& GetThumbnailUrl() const { return m_thumbnailUrl; }
71 inline bool ThumbnailUrlHasBeenSet() const { return m_thumbnailUrlHasBeenSet; }
72 template<typename ThumbnailUrlT = Aws::String>
73 void SetThumbnailUrl(ThumbnailUrlT&& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = std::forward<ThumbnailUrlT>(value); }
74 template<typename ThumbnailUrlT = Aws::String>
75 ProductionBranch& WithThumbnailUrl(ThumbnailUrlT&& value) { SetThumbnailUrl(std::forward<ThumbnailUrlT>(value)); return *this;}
77
79
82 inline const Aws::String& GetBranchName() const { return m_branchName; }
83 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
84 template<typename BranchNameT = Aws::String>
85 void SetBranchName(BranchNameT&& value) { m_branchNameHasBeenSet = true; m_branchName = std::forward<BranchNameT>(value); }
86 template<typename BranchNameT = Aws::String>
87 ProductionBranch& WithBranchName(BranchNameT&& value) { SetBranchName(std::forward<BranchNameT>(value)); return *this;}
89 private:
90
91 Aws::Utils::DateTime m_lastDeployTime{};
92 bool m_lastDeployTimeHasBeenSet = false;
93
94 Aws::String m_status;
95 bool m_statusHasBeenSet = false;
96
97 Aws::String m_thumbnailUrl;
98 bool m_thumbnailUrlHasBeenSet = false;
99
100 Aws::String m_branchName;
101 bool m_branchNameHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Amplify
106} // namespace Aws
void SetLastDeployTime(LastDeployTimeT &&value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
ProductionBranch & WithBranchName(BranchNameT &&value)
void SetThumbnailUrl(ThumbnailUrlT &&value)
ProductionBranch & WithLastDeployTime(LastDeployTimeT &&value)
const Aws::String & GetStatus() const
ProductionBranch & WithStatus(StatusT &&value)
ProductionBranch & WithThumbnailUrl(ThumbnailUrlT &&value)
AWS_AMPLIFY_API ProductionBranch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFY_API ProductionBranch()=default
AWS_AMPLIFY_API ProductionBranch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetThumbnailUrl() const
const Aws::String & GetBranchName() const
void SetBranchName(BranchNameT &&value)
const Aws::Utils::DateTime & GetLastDeployTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue