AWS SDK for C++  1.9.123
AWS SDK for C++
ComponentDeploymentSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GreengrassV2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
47 
51  inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
52 
56  inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
57 
61  inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
62 
66  inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
67 
71  inline ComponentDeploymentSpecification& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;}
72 
76  inline ComponentDeploymentSpecification& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
77 
81  inline ComponentDeploymentSpecification& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
82 
83 
95  inline const ComponentConfigurationUpdate& GetConfigurationUpdate() const{ return m_configurationUpdate; }
96 
108  inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; }
109 
121  inline void SetConfigurationUpdate(const ComponentConfigurationUpdate& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = value; }
122 
134  inline void SetConfigurationUpdate(ComponentConfigurationUpdate&& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = std::move(value); }
135 
147  inline ComponentDeploymentSpecification& WithConfigurationUpdate(const ComponentConfigurationUpdate& value) { SetConfigurationUpdate(value); return *this;}
148 
160  inline ComponentDeploymentSpecification& WithConfigurationUpdate(ComponentConfigurationUpdate&& value) { SetConfigurationUpdate(std::move(value)); return *this;}
161 
162 
172  inline const ComponentRunWith& GetRunWith() const{ return m_runWith; }
173 
183  inline bool RunWithHasBeenSet() const { return m_runWithHasBeenSet; }
184 
194  inline void SetRunWith(const ComponentRunWith& value) { m_runWithHasBeenSet = true; m_runWith = value; }
195 
205  inline void SetRunWith(ComponentRunWith&& value) { m_runWithHasBeenSet = true; m_runWith = std::move(value); }
206 
216  inline ComponentDeploymentSpecification& WithRunWith(const ComponentRunWith& value) { SetRunWith(value); return *this;}
217 
227  inline ComponentDeploymentSpecification& WithRunWith(ComponentRunWith&& value) { SetRunWith(std::move(value)); return *this;}
228 
229  private:
230 
231  Aws::String m_componentVersion;
232  bool m_componentVersionHasBeenSet;
233 
234  ComponentConfigurationUpdate m_configurationUpdate;
235  bool m_configurationUpdateHasBeenSet;
236 
237  ComponentRunWith m_runWith;
238  bool m_runWithHasBeenSet;
239  };
240 
241 } // namespace Model
242 } // namespace GreengrassV2
243 } // namespace Aws
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::WithComponentVersion
ComponentDeploymentSpecification & WithComponentVersion(Aws::String &&value)
Definition: ComponentDeploymentSpecification.h:76
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::operator=
ComponentDeploymentSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::WithComponentVersion
ComponentDeploymentSpecification & WithComponentVersion(const char *value)
Definition: ComponentDeploymentSpecification.h:81
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::WithConfigurationUpdate
ComponentDeploymentSpecification & WithConfigurationUpdate(const ComponentConfigurationUpdate &value)
Definition: ComponentDeploymentSpecification.h:147
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::SetRunWith
void SetRunWith(ComponentRunWith &&value)
Definition: ComponentDeploymentSpecification.h:205
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ComponentConfigurationUpdate
Definition: ComponentConfigurationUpdate.h:37
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::SetComponentVersion
void SetComponentVersion(const char *value)
Definition: ComponentDeploymentSpecification.h:66
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::SetComponentVersion
void SetComponentVersion(Aws::String &&value)
Definition: ComponentDeploymentSpecification.h:61
ComponentConfigurationUpdate.h
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::RunWithHasBeenSet
bool RunWithHasBeenSet() const
Definition: ComponentDeploymentSpecification.h:183
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::WithRunWith
ComponentDeploymentSpecification & WithRunWith(const ComponentRunWith &value)
Definition: ComponentDeploymentSpecification.h:216
Aws::GreengrassV2::Model::ComponentDeploymentSpecification
Definition: ComponentDeploymentSpecification.h:35
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::ComponentDeploymentSpecification
ComponentDeploymentSpecification()
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::GetComponentVersion
const Aws::String & GetComponentVersion() const
Definition: ComponentDeploymentSpecification.h:46
ComponentRunWith.h
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::SetRunWith
void SetRunWith(const ComponentRunWith &value)
Definition: ComponentDeploymentSpecification.h:194
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::WithRunWith
ComponentDeploymentSpecification & WithRunWith(ComponentRunWith &&value)
Definition: ComponentDeploymentSpecification.h:227
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::ComponentVersionHasBeenSet
bool ComponentVersionHasBeenSet() const
Definition: ComponentDeploymentSpecification.h:51
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::ComponentDeploymentSpecification
ComponentDeploymentSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::SetConfigurationUpdate
void SetConfigurationUpdate(ComponentConfigurationUpdate &&value)
Definition: ComponentDeploymentSpecification.h:134
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::WithComponentVersion
ComponentDeploymentSpecification & WithComponentVersion(const Aws::String &value)
Definition: ComponentDeploymentSpecification.h:71
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::GetConfigurationUpdate
const ComponentConfigurationUpdate & GetConfigurationUpdate() const
Definition: ComponentDeploymentSpecification.h:95
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::GetRunWith
const ComponentRunWith & GetRunWith() const
Definition: ComponentDeploymentSpecification.h:172
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::WithConfigurationUpdate
ComponentDeploymentSpecification & WithConfigurationUpdate(ComponentConfigurationUpdate &&value)
Definition: ComponentDeploymentSpecification.h:160
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ComponentRunWith
Definition: ComponentRunWith.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::SetConfigurationUpdate
void SetConfigurationUpdate(const ComponentConfigurationUpdate &value)
Definition: ComponentDeploymentSpecification.h:121
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::ConfigurationUpdateHasBeenSet
bool ConfigurationUpdateHasBeenSet() const
Definition: ComponentDeploymentSpecification.h:108
Aws::GreengrassV2::Model::ComponentDeploymentSpecification::SetComponentVersion
void SetComponentVersion(const Aws::String &value)
Definition: ComponentDeploymentSpecification.h:56