AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename FrameworkNameT = Aws::String>
52 void SetFrameworkName(FrameworkNameT&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::forward<FrameworkNameT>(value); }
53 template<typename FrameworkNameT = Aws::String>
54 Framework& WithFrameworkName(FrameworkNameT&& value) { SetFrameworkName(std::forward<FrameworkNameT>(value)); return *this;}
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) { m_frameworkArnHasBeenSet = true; m_frameworkArn = std::forward<FrameworkArnT>(value); }
66 template<typename FrameworkArnT = Aws::String>
67 Framework& WithFrameworkArn(FrameworkArnT&& value) { SetFrameworkArn(std::forward<FrameworkArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetFrameworkDescription() const { return m_frameworkDescription; }
75 inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
76 template<typename FrameworkDescriptionT = Aws::String>
77 void SetFrameworkDescription(FrameworkDescriptionT&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::forward<FrameworkDescriptionT>(value); }
78 template<typename FrameworkDescriptionT = Aws::String>
79 Framework& WithFrameworkDescription(FrameworkDescriptionT&& value) { SetFrameworkDescription(std::forward<FrameworkDescriptionT>(value)); return *this;}
81
83
86 inline int GetNumberOfControls() const { return m_numberOfControls; }
87 inline bool NumberOfControlsHasBeenSet() const { return m_numberOfControlsHasBeenSet; }
88 inline void SetNumberOfControls(int value) { m_numberOfControlsHasBeenSet = true; m_numberOfControls = value; }
89 inline Framework& WithNumberOfControls(int value) { SetNumberOfControls(value); return *this;}
91
93
99 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
100 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
101 template<typename CreationTimeT = Aws::Utils::DateTime>
102 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
103 template<typename CreationTimeT = Aws::Utils::DateTime>
104 Framework& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
106
108
113 inline const Aws::String& GetDeploymentStatus() const { return m_deploymentStatus; }
114 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
115 template<typename DeploymentStatusT = Aws::String>
116 void SetDeploymentStatus(DeploymentStatusT&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::forward<DeploymentStatusT>(value); }
117 template<typename DeploymentStatusT = Aws::String>
118 Framework& WithDeploymentStatus(DeploymentStatusT&& value) { SetDeploymentStatus(std::forward<DeploymentStatusT>(value)); return *this;}
120 private:
121
122 Aws::String m_frameworkName;
123 bool m_frameworkNameHasBeenSet = false;
124
125 Aws::String m_frameworkArn;
126 bool m_frameworkArnHasBeenSet = false;
127
128 Aws::String m_frameworkDescription;
129 bool m_frameworkDescriptionHasBeenSet = false;
130
131 int m_numberOfControls{0};
132 bool m_numberOfControlsHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationTime{};
135 bool m_creationTimeHasBeenSet = false;
136
137 Aws::String m_deploymentStatus;
138 bool m_deploymentStatusHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Backup
143} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
Definition Framework.h:102
const Aws::Utils::DateTime & GetCreationTime() const
Definition Framework.h:99
void SetFrameworkName(FrameworkNameT &&value)
Definition Framework.h:52
bool DeploymentStatusHasBeenSet() const
Definition Framework.h:114
Framework & WithFrameworkName(FrameworkNameT &&value)
Definition Framework.h:54
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:49
const Aws::String & GetFrameworkDescription() const
Definition Framework.h:74
void SetFrameworkDescription(FrameworkDescriptionT &&value)
Definition Framework.h:77
Framework & WithFrameworkDescription(FrameworkDescriptionT &&value)
Definition Framework.h:79
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:75
Framework & WithCreationTime(CreationTimeT &&value)
Definition Framework.h:104
const Aws::String & GetDeploymentStatus() const
Definition Framework.h:113
Framework & WithDeploymentStatus(DeploymentStatusT &&value)
Definition Framework.h:118
bool FrameworkArnHasBeenSet() const
Definition Framework.h:63
void SetFrameworkArn(FrameworkArnT &&value)
Definition Framework.h:65
void SetDeploymentStatus(DeploymentStatusT &&value)
Definition Framework.h:116
bool CreationTimeHasBeenSet() const
Definition Framework.h:100
void SetNumberOfControls(int value)
Definition Framework.h:88
bool FrameworkNameHasBeenSet() const
Definition Framework.h:50
Framework & WithFrameworkArn(FrameworkArnT &&value)
Definition Framework.h:67
bool NumberOfControlsHasBeenSet() const
Definition Framework.h:87
Framework & WithNumberOfControls(int value)
Definition Framework.h:89
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue