AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FrameworkControl.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/memory/stl/AWSVector.h>
10#include <aws/backup/model/ControlScope.h>
11#include <aws/backup/model/ControlInputParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Backup
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BACKUP_API FrameworkControl();
41 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetControlName() const{ return m_controlName; }
49 inline bool ControlNameHasBeenSet() const { return m_controlNameHasBeenSet; }
50 inline void SetControlName(const Aws::String& value) { m_controlNameHasBeenSet = true; m_controlName = value; }
51 inline void SetControlName(Aws::String&& value) { m_controlNameHasBeenSet = true; m_controlName = std::move(value); }
52 inline void SetControlName(const char* value) { m_controlNameHasBeenSet = true; m_controlName.assign(value); }
53 inline FrameworkControl& WithControlName(const Aws::String& value) { SetControlName(value); return *this;}
54 inline FrameworkControl& WithControlName(Aws::String&& value) { SetControlName(std::move(value)); return *this;}
55 inline FrameworkControl& WithControlName(const char* value) { SetControlName(value); return *this;}
57
59
62 inline const Aws::Vector<ControlInputParameter>& GetControlInputParameters() const{ return m_controlInputParameters; }
63 inline bool ControlInputParametersHasBeenSet() const { return m_controlInputParametersHasBeenSet; }
64 inline void SetControlInputParameters(const Aws::Vector<ControlInputParameter>& value) { m_controlInputParametersHasBeenSet = true; m_controlInputParameters = value; }
65 inline void SetControlInputParameters(Aws::Vector<ControlInputParameter>&& value) { m_controlInputParametersHasBeenSet = true; m_controlInputParameters = std::move(value); }
68 inline FrameworkControl& AddControlInputParameters(const ControlInputParameter& value) { m_controlInputParametersHasBeenSet = true; m_controlInputParameters.push_back(value); return *this; }
69 inline FrameworkControl& AddControlInputParameters(ControlInputParameter&& value) { m_controlInputParametersHasBeenSet = true; m_controlInputParameters.push_back(std::move(value)); return *this; }
71
73
81 inline const ControlScope& GetControlScope() const{ return m_controlScope; }
82 inline bool ControlScopeHasBeenSet() const { return m_controlScopeHasBeenSet; }
83 inline void SetControlScope(const ControlScope& value) { m_controlScopeHasBeenSet = true; m_controlScope = value; }
84 inline void SetControlScope(ControlScope&& value) { m_controlScopeHasBeenSet = true; m_controlScope = std::move(value); }
85 inline FrameworkControl& WithControlScope(const ControlScope& value) { SetControlScope(value); return *this;}
86 inline FrameworkControl& WithControlScope(ControlScope&& value) { SetControlScope(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_controlName;
91 bool m_controlNameHasBeenSet = false;
92
93 Aws::Vector<ControlInputParameter> m_controlInputParameters;
94 bool m_controlInputParametersHasBeenSet = false;
95
96 ControlScope m_controlScope;
97 bool m_controlScopeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Backup
102} // namespace Aws
void SetControlName(const Aws::String &value)
const Aws::Vector< ControlInputParameter > & GetControlInputParameters() const
FrameworkControl & WithControlName(Aws::String &&value)
FrameworkControl & WithControlName(const Aws::String &value)
const ControlScope & GetControlScope() const
void SetControlName(Aws::String &&value)
void SetControlScope(const ControlScope &value)
FrameworkControl & WithControlScope(ControlScope &&value)
AWS_BACKUP_API FrameworkControl & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetControlInputParameters(Aws::Vector< ControlInputParameter > &&value)
FrameworkControl & WithControlInputParameters(Aws::Vector< ControlInputParameter > &&value)
void SetControlName(const char *value)
void SetControlScope(ControlScope &&value)
FrameworkControl & WithControlScope(const ControlScope &value)
const Aws::String & GetControlName() const
AWS_BACKUP_API FrameworkControl(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
FrameworkControl & AddControlInputParameters(ControlInputParameter &&value)
FrameworkControl & WithControlInputParameters(const Aws::Vector< ControlInputParameter > &value)
FrameworkControl & WithControlName(const char *value)
FrameworkControl & AddControlInputParameters(const ControlInputParameter &value)
void SetControlInputParameters(const Aws::Vector< ControlInputParameter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue