AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
Framework.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Backup {
21namespace Model {
22
30class Framework {
31 public:
32 AWS_BACKUP_API Framework() = default;
33 AWS_BACKUP_API Framework(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetFrameworkName() const { return m_frameworkName; }
44 inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; }
45 template <typename FrameworkNameT = Aws::String>
46 void SetFrameworkName(FrameworkNameT&& value) {
47 m_frameworkNameHasBeenSet = true;
48 m_frameworkName = std::forward<FrameworkNameT>(value);
49 }
50 template <typename FrameworkNameT = Aws::String>
51 Framework& WithFrameworkName(FrameworkNameT&& value) {
52 SetFrameworkName(std::forward<FrameworkNameT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetFrameworkArn() const { return m_frameworkArn; }
63 inline bool FrameworkArnHasBeenSet() const { return m_frameworkArnHasBeenSet; }
64 template <typename FrameworkArnT = Aws::String>
65 void SetFrameworkArn(FrameworkArnT&& value) {
66 m_frameworkArnHasBeenSet = true;
67 m_frameworkArn = std::forward<FrameworkArnT>(value);
68 }
69 template <typename FrameworkArnT = Aws::String>
70 Framework& WithFrameworkArn(FrameworkArnT&& value) {
71 SetFrameworkArn(std::forward<FrameworkArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetFrameworkDescription() const { return m_frameworkDescription; }
81 inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
82 template <typename FrameworkDescriptionT = Aws::String>
83 void SetFrameworkDescription(FrameworkDescriptionT&& value) {
84 m_frameworkDescriptionHasBeenSet = true;
85 m_frameworkDescription = std::forward<FrameworkDescriptionT>(value);
86 }
87 template <typename FrameworkDescriptionT = Aws::String>
88 Framework& WithFrameworkDescription(FrameworkDescriptionT&& value) {
89 SetFrameworkDescription(std::forward<FrameworkDescriptionT>(value));
90 return *this;
91 }
93
95
98 inline int GetNumberOfControls() const { return m_numberOfControls; }
99 inline bool NumberOfControlsHasBeenSet() const { return m_numberOfControlsHasBeenSet; }
100 inline void SetNumberOfControls(int value) {
101 m_numberOfControlsHasBeenSet = true;
102 m_numberOfControls = value;
103 }
104 inline Framework& WithNumberOfControls(int value) {
105 SetNumberOfControls(value);
106 return *this;
107 }
109
111
117 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
118 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
119 template <typename CreationTimeT = Aws::Utils::DateTime>
120 void SetCreationTime(CreationTimeT&& value) {
121 m_creationTimeHasBeenSet = true;
122 m_creationTime = std::forward<CreationTimeT>(value);
123 }
124 template <typename CreationTimeT = Aws::Utils::DateTime>
125 Framework& WithCreationTime(CreationTimeT&& value) {
126 SetCreationTime(std::forward<CreationTimeT>(value));
127 return *this;
128 }
130
132
137 inline const Aws::String& GetDeploymentStatus() const { return m_deploymentStatus; }
138 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
139 template <typename DeploymentStatusT = Aws::String>
140 void SetDeploymentStatus(DeploymentStatusT&& value) {
141 m_deploymentStatusHasBeenSet = true;
142 m_deploymentStatus = std::forward<DeploymentStatusT>(value);
143 }
144 template <typename DeploymentStatusT = Aws::String>
145 Framework& WithDeploymentStatus(DeploymentStatusT&& value) {
146 SetDeploymentStatus(std::forward<DeploymentStatusT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_frameworkName;
152
153 Aws::String m_frameworkArn;
154
155 Aws::String m_frameworkDescription;
156
157 int m_numberOfControls{0};
158
159 Aws::Utils::DateTime m_creationTime{};
160
161 Aws::String m_deploymentStatus;
162 bool m_frameworkNameHasBeenSet = false;
163 bool m_frameworkArnHasBeenSet = false;
164 bool m_frameworkDescriptionHasBeenSet = false;
165 bool m_numberOfControlsHasBeenSet = false;
166 bool m_creationTimeHasBeenSet = false;
167 bool m_deploymentStatusHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace Backup
172} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
Definition Framework.h:120
const Aws::Utils::DateTime & GetCreationTime() const
Definition Framework.h:117
void SetFrameworkName(FrameworkNameT &&value)
Definition Framework.h:46
bool DeploymentStatusHasBeenSet() const
Definition Framework.h:138
Framework & WithFrameworkName(FrameworkNameT &&value)
Definition Framework.h:51
AWS_BACKUP_API Framework(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFrameworkArn() const
Definition Framework.h:62
const Aws::String & GetFrameworkName() const
Definition Framework.h:43
const Aws::String & GetFrameworkDescription() const
Definition Framework.h:80
void SetFrameworkDescription(FrameworkDescriptionT &&value)
Definition Framework.h:83
Framework & WithFrameworkDescription(FrameworkDescriptionT &&value)
Definition Framework.h:88
AWS_BACKUP_API Framework()=default
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API Framework & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FrameworkDescriptionHasBeenSet() const
Definition Framework.h:81
Framework & WithCreationTime(CreationTimeT &&value)
Definition Framework.h:125
const Aws::String & GetDeploymentStatus() const
Definition Framework.h:137
Framework & WithDeploymentStatus(DeploymentStatusT &&value)
Definition Framework.h:145
bool FrameworkArnHasBeenSet() const
Definition Framework.h:63
void SetFrameworkArn(FrameworkArnT &&value)
Definition Framework.h:65
void SetDeploymentStatus(DeploymentStatusT &&value)
Definition Framework.h:140
bool CreationTimeHasBeenSet() const
Definition Framework.h:118
void SetNumberOfControls(int value)
Definition Framework.h:100
bool FrameworkNameHasBeenSet() const
Definition Framework.h:44
Framework & WithFrameworkArn(FrameworkArnT &&value)
Definition Framework.h:70
bool NumberOfControlsHasBeenSet() const
Definition Framework.h:99
Framework & WithNumberOfControls(int value)
Definition Framework.h:104
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue