AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EnvironmentSummary.h
1
6#pragma once
7#include <aws/evs/EVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evs/model/VcfVersion.h>
10#include <aws/evs/model/CheckResult.h>
11#include <aws/evs/model/EnvironmentState.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace EVS
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_EVS_API EnvironmentSummary() = default;
43
44
46
49 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
50 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
51 template<typename EnvironmentIdT = Aws::String>
52 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
53 template<typename EnvironmentIdT = Aws::String>
54 EnvironmentSummary& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
62 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
63 template<typename EnvironmentNameT = Aws::String>
64 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
65 template<typename EnvironmentNameT = Aws::String>
66 EnvironmentSummary& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
68
70
73 inline VcfVersion GetVcfVersion() const { return m_vcfVersion; }
74 inline bool VcfVersionHasBeenSet() const { return m_vcfVersionHasBeenSet; }
75 inline void SetVcfVersion(VcfVersion value) { m_vcfVersionHasBeenSet = true; m_vcfVersion = value; }
76 inline EnvironmentSummary& WithVcfVersion(VcfVersion value) { SetVcfVersion(value); return *this;}
78
80
84 inline CheckResult GetEnvironmentStatus() const { return m_environmentStatus; }
85 inline bool EnvironmentStatusHasBeenSet() const { return m_environmentStatusHasBeenSet; }
86 inline void SetEnvironmentStatus(CheckResult value) { m_environmentStatusHasBeenSet = true; m_environmentStatus = value; }
89
91
94 inline EnvironmentState GetEnvironmentState() const { return m_environmentState; }
95 inline bool EnvironmentStateHasBeenSet() const { return m_environmentStateHasBeenSet; }
96 inline void SetEnvironmentState(EnvironmentState value) { m_environmentStateHasBeenSet = true; m_environmentState = value; }
99
101
104 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
105 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
106 template<typename CreatedAtT = Aws::Utils::DateTime>
107 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
108 template<typename CreatedAtT = Aws::Utils::DateTime>
109 EnvironmentSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
117 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
118 template<typename ModifiedAtT = Aws::Utils::DateTime>
119 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
120 template<typename ModifiedAtT = Aws::Utils::DateTime>
121 EnvironmentSummary& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
123
125
128 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
129 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
130 template<typename EnvironmentArnT = Aws::String>
131 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
132 template<typename EnvironmentArnT = Aws::String>
133 EnvironmentSummary& WithEnvironmentArn(EnvironmentArnT&& value) { SetEnvironmentArn(std::forward<EnvironmentArnT>(value)); return *this;}
135 private:
136
137 Aws::String m_environmentId;
138 bool m_environmentIdHasBeenSet = false;
139
140 Aws::String m_environmentName;
141 bool m_environmentNameHasBeenSet = false;
142
143 VcfVersion m_vcfVersion{VcfVersion::NOT_SET};
144 bool m_vcfVersionHasBeenSet = false;
145
146 CheckResult m_environmentStatus{CheckResult::NOT_SET};
147 bool m_environmentStatusHasBeenSet = false;
148
150 bool m_environmentStateHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdAt{};
153 bool m_createdAtHasBeenSet = false;
154
155 Aws::Utils::DateTime m_modifiedAt{};
156 bool m_modifiedAtHasBeenSet = false;
157
158 Aws::String m_environmentArn;
159 bool m_environmentArnHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace EVS
164} // namespace Aws
const Aws::String & GetEnvironmentArn() const
AWS_EVS_API EnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironmentStatus(CheckResult value)
const Aws::Utils::DateTime & GetCreatedAt() const
EnvironmentSummary & WithEnvironmentStatus(CheckResult value)
const Aws::String & GetEnvironmentId() const
void SetModifiedAt(ModifiedAtT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
EnvironmentSummary & WithEnvironmentId(EnvironmentIdT &&value)
AWS_EVS_API EnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSummary & WithModifiedAt(ModifiedAtT &&value)
void SetEnvironmentArn(EnvironmentArnT &&value)
void SetEnvironmentState(EnvironmentState value)
void SetEnvironmentName(EnvironmentNameT &&value)
EnvironmentSummary & WithVcfVersion(VcfVersion value)
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentSummary & WithEnvironmentState(EnvironmentState value)
EnvironmentSummary & WithEnvironmentName(EnvironmentNameT &&value)
EnvironmentSummary & WithEnvironmentArn(EnvironmentArnT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_EVS_API EnvironmentSummary()=default
EnvironmentState GetEnvironmentState() const
const Aws::String & GetEnvironmentName() const
EnvironmentSummary & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue