AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Framework.h
1
6#pragma once
7#include <aws/backup/Backup_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 Backup
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BACKUP_API Framework();
38 AWS_BACKUP_API Framework(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetFrameworkName() const{ return m_frameworkName; }
50 inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; }
51 inline void SetFrameworkName(const Aws::String& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = value; }
52 inline void SetFrameworkName(Aws::String&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::move(value); }
53 inline void SetFrameworkName(const char* value) { m_frameworkNameHasBeenSet = true; m_frameworkName.assign(value); }
54 inline Framework& WithFrameworkName(const Aws::String& value) { SetFrameworkName(value); return *this;}
55 inline Framework& WithFrameworkName(Aws::String&& value) { SetFrameworkName(std::move(value)); return *this;}
56 inline Framework& WithFrameworkName(const char* value) { SetFrameworkName(value); return *this;}
58
60
64 inline const Aws::String& GetFrameworkArn() const{ return m_frameworkArn; }
65 inline bool FrameworkArnHasBeenSet() const { return m_frameworkArnHasBeenSet; }
66 inline void SetFrameworkArn(const Aws::String& value) { m_frameworkArnHasBeenSet = true; m_frameworkArn = value; }
67 inline void SetFrameworkArn(Aws::String&& value) { m_frameworkArnHasBeenSet = true; m_frameworkArn = std::move(value); }
68 inline void SetFrameworkArn(const char* value) { m_frameworkArnHasBeenSet = true; m_frameworkArn.assign(value); }
69 inline Framework& WithFrameworkArn(const Aws::String& value) { SetFrameworkArn(value); return *this;}
70 inline Framework& WithFrameworkArn(Aws::String&& value) { SetFrameworkArn(std::move(value)); return *this;}
71 inline Framework& WithFrameworkArn(const char* value) { SetFrameworkArn(value); return *this;}
73
75
78 inline const Aws::String& GetFrameworkDescription() const{ return m_frameworkDescription; }
79 inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
80 inline void SetFrameworkDescription(const Aws::String& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = value; }
81 inline void SetFrameworkDescription(Aws::String&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::move(value); }
82 inline void SetFrameworkDescription(const char* value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription.assign(value); }
83 inline Framework& WithFrameworkDescription(const Aws::String& value) { SetFrameworkDescription(value); return *this;}
84 inline Framework& WithFrameworkDescription(Aws::String&& value) { SetFrameworkDescription(std::move(value)); return *this;}
85 inline Framework& WithFrameworkDescription(const char* value) { SetFrameworkDescription(value); return *this;}
87
89
92 inline int GetNumberOfControls() const{ return m_numberOfControls; }
93 inline bool NumberOfControlsHasBeenSet() const { return m_numberOfControlsHasBeenSet; }
94 inline void SetNumberOfControls(int value) { m_numberOfControlsHasBeenSet = true; m_numberOfControls = value; }
95 inline Framework& WithNumberOfControls(int value) { SetNumberOfControls(value); return *this;}
97
99
105 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
106 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
107 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
108 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
109 inline Framework& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
110 inline Framework& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
112
114
119 inline const Aws::String& GetDeploymentStatus() const{ return m_deploymentStatus; }
120 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
121 inline void SetDeploymentStatus(const Aws::String& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
122 inline void SetDeploymentStatus(Aws::String&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
123 inline void SetDeploymentStatus(const char* value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus.assign(value); }
124 inline Framework& WithDeploymentStatus(const Aws::String& value) { SetDeploymentStatus(value); return *this;}
125 inline Framework& WithDeploymentStatus(Aws::String&& value) { SetDeploymentStatus(std::move(value)); return *this;}
126 inline Framework& WithDeploymentStatus(const char* value) { SetDeploymentStatus(value); return *this;}
128 private:
129
130 Aws::String m_frameworkName;
131 bool m_frameworkNameHasBeenSet = false;
132
133 Aws::String m_frameworkArn;
134 bool m_frameworkArnHasBeenSet = false;
135
136 Aws::String m_frameworkDescription;
137 bool m_frameworkDescriptionHasBeenSet = false;
138
139 int m_numberOfControls;
140 bool m_numberOfControlsHasBeenSet = false;
141
142 Aws::Utils::DateTime m_creationTime;
143 bool m_creationTimeHasBeenSet = false;
144
145 Aws::String m_deploymentStatus;
146 bool m_deploymentStatusHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Backup
151} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
Definition Framework.h:105
void SetFrameworkArn(const Aws::String &value)
Definition Framework.h:66
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Framework.h:108
void SetDeploymentStatus(const Aws::String &value)
Definition Framework.h:121
bool DeploymentStatusHasBeenSet() const
Definition Framework.h:120
Framework & WithDeploymentStatus(const char *value)
Definition Framework.h:126
AWS_BACKUP_API Framework(Aws::Utils::Json::JsonView jsonValue)
Framework & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Framework.h:109
const Aws::String & GetFrameworkArn() const
Definition Framework.h:64
void SetFrameworkName(const Aws::String &value)
Definition Framework.h:51
const Aws::String & GetFrameworkName() const
Definition Framework.h:49
const Aws::String & GetFrameworkDescription() const
Definition Framework.h:78
Framework & WithFrameworkDescription(const char *value)
Definition Framework.h:85
Framework & WithDeploymentStatus(const Aws::String &value)
Definition Framework.h:124
Framework & WithFrameworkArn(Aws::String &&value)
Definition Framework.h:70
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Framework.h:107
void SetFrameworkName(const char *value)
Definition Framework.h:53
void SetDeploymentStatus(Aws::String &&value)
Definition Framework.h:122
Framework & WithFrameworkDescription(const Aws::String &value)
Definition Framework.h:83
Framework & WithFrameworkArn(const char *value)
Definition Framework.h:71
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFrameworkArn(Aws::String &&value)
Definition Framework.h:67
Framework & WithDeploymentStatus(Aws::String &&value)
Definition Framework.h:125
AWS_BACKUP_API Framework & operator=(Aws::Utils::Json::JsonView jsonValue)
Framework & WithFrameworkName(const char *value)
Definition Framework.h:56
bool FrameworkDescriptionHasBeenSet() const
Definition Framework.h:79
void SetFrameworkArn(const char *value)
Definition Framework.h:68
void SetFrameworkDescription(Aws::String &&value)
Definition Framework.h:81
Framework & WithFrameworkDescription(Aws::String &&value)
Definition Framework.h:84
Framework & WithFrameworkName(Aws::String &&value)
Definition Framework.h:55
const Aws::String & GetDeploymentStatus() const
Definition Framework.h:119
void SetFrameworkName(Aws::String &&value)
Definition Framework.h:52
bool FrameworkArnHasBeenSet() const
Definition Framework.h:65
Framework & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Framework.h:110
Framework & WithFrameworkArn(const Aws::String &value)
Definition Framework.h:69
void SetDeploymentStatus(const char *value)
Definition Framework.h:123
bool CreationTimeHasBeenSet() const
Definition Framework.h:106
void SetFrameworkDescription(const Aws::String &value)
Definition Framework.h:80
void SetNumberOfControls(int value)
Definition Framework.h:94
bool FrameworkNameHasBeenSet() const
Definition Framework.h:50
Framework & WithFrameworkName(const Aws::String &value)
Definition Framework.h:54
void SetFrameworkDescription(const char *value)
Definition Framework.h:82
bool NumberOfControlsHasBeenSet() const
Definition Framework.h:93
Framework & WithNumberOfControls(int value)
Definition Framework.h:95
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue