AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackendEnvironment.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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
35 {
36 public:
37 AWS_AMPLIFY_API BackendEnvironment();
40 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetBackendEnvironmentArn() const{ return m_backendEnvironmentArn; }
49 inline bool BackendEnvironmentArnHasBeenSet() const { return m_backendEnvironmentArnHasBeenSet; }
50 inline void SetBackendEnvironmentArn(const Aws::String& value) { m_backendEnvironmentArnHasBeenSet = true; m_backendEnvironmentArn = value; }
51 inline void SetBackendEnvironmentArn(Aws::String&& value) { m_backendEnvironmentArnHasBeenSet = true; m_backendEnvironmentArn = std::move(value); }
52 inline void SetBackendEnvironmentArn(const char* value) { m_backendEnvironmentArnHasBeenSet = true; m_backendEnvironmentArn.assign(value); }
54 inline BackendEnvironment& WithBackendEnvironmentArn(Aws::String&& value) { SetBackendEnvironmentArn(std::move(value)); return *this;}
55 inline BackendEnvironment& WithBackendEnvironmentArn(const char* value) { SetBackendEnvironmentArn(value); return *this;}
57
59
62 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
63 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
64 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
65 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
66 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
67 inline BackendEnvironment& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
68 inline BackendEnvironment& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
69 inline BackendEnvironment& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
71
73
76 inline const Aws::String& GetStackName() const{ return m_stackName; }
77 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
78 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
79 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
80 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
81 inline BackendEnvironment& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
82 inline BackendEnvironment& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
83 inline BackendEnvironment& WithStackName(const char* value) { SetStackName(value); return *this;}
85
87
90 inline const Aws::String& GetDeploymentArtifacts() const{ return m_deploymentArtifacts; }
91 inline bool DeploymentArtifactsHasBeenSet() const { return m_deploymentArtifactsHasBeenSet; }
92 inline void SetDeploymentArtifacts(const Aws::String& value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts = value; }
93 inline void SetDeploymentArtifacts(Aws::String&& value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts = std::move(value); }
94 inline void SetDeploymentArtifacts(const char* value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts.assign(value); }
96 inline BackendEnvironment& WithDeploymentArtifacts(Aws::String&& value) { SetDeploymentArtifacts(std::move(value)); return *this;}
97 inline BackendEnvironment& WithDeploymentArtifacts(const char* value) { SetDeploymentArtifacts(value); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
106 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
107 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
108 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
109 inline BackendEnvironment& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
110 inline BackendEnvironment& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
112
114
118 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
119 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
120 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
121 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
122 inline BackendEnvironment& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
123 inline BackendEnvironment& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
125 private:
126
127 Aws::String m_backendEnvironmentArn;
128 bool m_backendEnvironmentArnHasBeenSet = false;
129
130 Aws::String m_environmentName;
131 bool m_environmentNameHasBeenSet = false;
132
133 Aws::String m_stackName;
134 bool m_stackNameHasBeenSet = false;
135
136 Aws::String m_deploymentArtifacts;
137 bool m_deploymentArtifactsHasBeenSet = false;
138
139 Aws::Utils::DateTime m_createTime;
140 bool m_createTimeHasBeenSet = false;
141
142 Aws::Utils::DateTime m_updateTime;
143 bool m_updateTimeHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Amplify
148} // namespace Aws
void SetEnvironmentName(const Aws::String &value)
BackendEnvironment & WithEnvironmentName(const char *value)
const Aws::String & GetBackendEnvironmentArn() const
void SetStackName(const Aws::String &value)
BackendEnvironment & WithUpdateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetStackName() const
void SetBackendEnvironmentArn(const Aws::String &value)
BackendEnvironment & WithDeploymentArtifacts(Aws::String &&value)
BackendEnvironment & WithDeploymentArtifacts(const Aws::String &value)
BackendEnvironment & WithBackendEnvironmentArn(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
BackendEnvironment & WithBackendEnvironmentArn(const char *value)
BackendEnvironment & WithCreateTime(Aws::Utils::DateTime &&value)
BackendEnvironment & WithEnvironmentName(const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
AWS_AMPLIFY_API BackendEnvironment(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(const Aws::Utils::DateTime &value)
BackendEnvironment & WithCreateTime(const Aws::Utils::DateTime &value)
BackendEnvironment & WithEnvironmentName(Aws::String &&value)
const Aws::String & GetDeploymentArtifacts() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetDeploymentArtifacts(Aws::String &&value)
void SetBackendEnvironmentArn(Aws::String &&value)
BackendEnvironment & WithBackendEnvironmentArn(const Aws::String &value)
BackendEnvironment & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetDeploymentArtifacts(const Aws::String &value)
const Aws::String & GetEnvironmentName() const
BackendEnvironment & WithStackName(const Aws::String &value)
BackendEnvironment & WithStackName(const char *value)
AWS_AMPLIFY_API BackendEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(Aws::Utils::DateTime &&value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBackendEnvironmentArn(const char *value)
BackendEnvironment & WithDeploymentArtifacts(const char *value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetEnvironmentName(Aws::String &&value)
BackendEnvironment & WithStackName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue