AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
ModuleConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
10#include <aws/rtbfabric/model/ModuleParameters.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace RTBFabric {
22namespace Model {
23
30 public:
31 AWS_RTBFABRIC_API ModuleConfiguration() = default;
32 AWS_RTBFABRIC_API ModuleConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVersion() const { return m_version; }
41 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
42 template <typename VersionT = Aws::String>
43 void SetVersion(VersionT&& value) {
44 m_versionHasBeenSet = true;
45 m_version = std::forward<VersionT>(value);
46 }
47 template <typename VersionT = Aws::String>
48 ModuleConfiguration& WithVersion(VersionT&& value) {
49 SetVersion(std::forward<VersionT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 ModuleConfiguration& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<Aws::String>& GetDependsOn() const { return m_dependsOn; }
77 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
78 template <typename DependsOnT = Aws::Vector<Aws::String>>
79 void SetDependsOn(DependsOnT&& value) {
80 m_dependsOnHasBeenSet = true;
81 m_dependsOn = std::forward<DependsOnT>(value);
82 }
83 template <typename DependsOnT = Aws::Vector<Aws::String>>
84 ModuleConfiguration& WithDependsOn(DependsOnT&& value) {
85 SetDependsOn(std::forward<DependsOnT>(value));
86 return *this;
87 }
88 template <typename DependsOnT = Aws::String>
89 ModuleConfiguration& AddDependsOn(DependsOnT&& value) {
90 m_dependsOnHasBeenSet = true;
91 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
92 return *this;
93 }
95
97
100 inline const ModuleParameters& GetModuleParameters() const { return m_moduleParameters; }
101 inline bool ModuleParametersHasBeenSet() const { return m_moduleParametersHasBeenSet; }
102 template <typename ModuleParametersT = ModuleParameters>
103 void SetModuleParameters(ModuleParametersT&& value) {
104 m_moduleParametersHasBeenSet = true;
105 m_moduleParameters = std::forward<ModuleParametersT>(value);
106 }
107 template <typename ModuleParametersT = ModuleParameters>
108 ModuleConfiguration& WithModuleParameters(ModuleParametersT&& value) {
109 SetModuleParameters(std::forward<ModuleParametersT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_version;
115
116 Aws::String m_name;
117
118 Aws::Vector<Aws::String> m_dependsOn;
119
120 ModuleParameters m_moduleParameters;
121 bool m_versionHasBeenSet = false;
122 bool m_nameHasBeenSet = false;
123 bool m_dependsOnHasBeenSet = false;
124 bool m_moduleParametersHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace RTBFabric
129} // namespace Aws
AWS_RTBFABRIC_API ModuleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ModuleParameters & GetModuleParameters() const
AWS_RTBFABRIC_API ModuleConfiguration()=default
ModuleConfiguration & AddDependsOn(DependsOnT &&value)
ModuleConfiguration & WithDependsOn(DependsOnT &&value)
void SetModuleParameters(ModuleParametersT &&value)
ModuleConfiguration & WithName(NameT &&value)
AWS_RTBFABRIC_API ModuleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ModuleConfiguration & WithVersion(VersionT &&value)
AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetDependsOn() const
ModuleConfiguration & WithModuleParameters(ModuleParametersT &&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