AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLastDeployTime(const Aws::Utils::DateTime& value) { m_lastDeployTimeHasBeenSet = true; m_lastDeployTime = value; }
49 inline void SetLastDeployTime(Aws::Utils::DateTime&& value) { m_lastDeployTimeHasBeenSet = true; m_lastDeployTime = std::move(value); }
50 inline ProductionBranch& WithLastDeployTime(const Aws::Utils::DateTime& value) { SetLastDeployTime(value); return *this;}
51 inline ProductionBranch& WithLastDeployTime(Aws::Utils::DateTime&& value) { SetLastDeployTime(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetStatus() const{ return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
61 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
62 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
63 inline ProductionBranch& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
64 inline ProductionBranch& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
65 inline ProductionBranch& WithStatus(const char* value) { SetStatus(value); return *this;}
67
69
72 inline const Aws::String& GetThumbnailUrl() const{ return m_thumbnailUrl; }
73 inline bool ThumbnailUrlHasBeenSet() const { return m_thumbnailUrlHasBeenSet; }
74 inline void SetThumbnailUrl(const Aws::String& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = value; }
75 inline void SetThumbnailUrl(Aws::String&& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = std::move(value); }
76 inline void SetThumbnailUrl(const char* value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl.assign(value); }
77 inline ProductionBranch& WithThumbnailUrl(const Aws::String& value) { SetThumbnailUrl(value); return *this;}
78 inline ProductionBranch& WithThumbnailUrl(Aws::String&& value) { SetThumbnailUrl(std::move(value)); return *this;}
79 inline ProductionBranch& WithThumbnailUrl(const char* value) { SetThumbnailUrl(value); return *this;}
81
83
86 inline const Aws::String& GetBranchName() const{ return m_branchName; }
87 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
88 inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
89 inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
90 inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
91 inline ProductionBranch& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
92 inline ProductionBranch& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
93 inline ProductionBranch& WithBranchName(const char* value) { SetBranchName(value); return *this;}
95 private:
96
97 Aws::Utils::DateTime m_lastDeployTime;
98 bool m_lastDeployTimeHasBeenSet = false;
99
100 Aws::String m_status;
101 bool m_statusHasBeenSet = false;
102
103 Aws::String m_thumbnailUrl;
104 bool m_thumbnailUrlHasBeenSet = false;
105
106 Aws::String m_branchName;
107 bool m_branchNameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Amplify
112} // namespace Aws
ProductionBranch & WithThumbnailUrl(const char *value)
ProductionBranch & WithThumbnailUrl(Aws::String &&value)
ProductionBranch & WithBranchName(const Aws::String &value)
void SetThumbnailUrl(Aws::String &&value)
void SetThumbnailUrl(const char *value)
void SetLastDeployTime(const Aws::Utils::DateTime &value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBranchName(Aws::String &&value)
void SetBranchName(const Aws::String &value)
ProductionBranch & WithBranchName(const char *value)
ProductionBranch & WithThumbnailUrl(const Aws::String &value)
void SetStatus(const Aws::String &value)
ProductionBranch & WithStatus(const char *value)
ProductionBranch & WithBranchName(Aws::String &&value)
const Aws::String & GetStatus() const
ProductionBranch & WithLastDeployTime(Aws::Utils::DateTime &&value)
ProductionBranch & WithLastDeployTime(const Aws::Utils::DateTime &value)
ProductionBranch & WithStatus(const Aws::String &value)
void SetStatus(Aws::String &&value)
void SetThumbnailUrl(const Aws::String &value)
void SetLastDeployTime(Aws::Utils::DateTime &&value)
AWS_AMPLIFY_API ProductionBranch & operator=(Aws::Utils::Json::JsonView jsonValue)
ProductionBranch & WithStatus(Aws::String &&value)
AWS_AMPLIFY_API ProductionBranch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetThumbnailUrl() const
const Aws::String & GetBranchName() const
const Aws::Utils::DateTime & GetLastDeployTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue