AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentDeploymentSpecification.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/ComponentConfigurationUpdate.h>
10#include <aws/greengrassv2/model/ComponentRunWith.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GreengrassV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GREENGRASSV2_API ComponentDeploymentSpecification();
40 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
48 inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
49 inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
50 inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
51 inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
53 inline ComponentDeploymentSpecification& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
54 inline ComponentDeploymentSpecification& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
56
58
69 inline const ComponentConfigurationUpdate& GetConfigurationUpdate() const{ return m_configurationUpdate; }
70 inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; }
71 inline void SetConfigurationUpdate(const ComponentConfigurationUpdate& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = value; }
72 inline void SetConfigurationUpdate(ComponentConfigurationUpdate&& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = std::move(value); }
76
78
87 inline const ComponentRunWith& GetRunWith() const{ return m_runWith; }
88 inline bool RunWithHasBeenSet() const { return m_runWithHasBeenSet; }
89 inline void SetRunWith(const ComponentRunWith& value) { m_runWithHasBeenSet = true; m_runWith = value; }
90 inline void SetRunWith(ComponentRunWith&& value) { m_runWithHasBeenSet = true; m_runWith = std::move(value); }
91 inline ComponentDeploymentSpecification& WithRunWith(const ComponentRunWith& value) { SetRunWith(value); return *this;}
92 inline ComponentDeploymentSpecification& WithRunWith(ComponentRunWith&& value) { SetRunWith(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_componentVersion;
97 bool m_componentVersionHasBeenSet = false;
98
99 ComponentConfigurationUpdate m_configurationUpdate;
100 bool m_configurationUpdateHasBeenSet = false;
101
102 ComponentRunWith m_runWith;
103 bool m_runWithHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace GreengrassV2
108} // namespace Aws
void SetConfigurationUpdate(const ComponentConfigurationUpdate &value)
ComponentDeploymentSpecification & WithComponentVersion(const char *value)
ComponentDeploymentSpecification & WithRunWith(const ComponentRunWith &value)
AWS_GREENGRASSV2_API ComponentDeploymentSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentDeploymentSpecification & WithComponentVersion(Aws::String &&value)
ComponentDeploymentSpecification & WithRunWith(ComponentRunWith &&value)
AWS_GREENGRASSV2_API ComponentDeploymentSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentDeploymentSpecification & WithComponentVersion(const Aws::String &value)
ComponentDeploymentSpecification & WithConfigurationUpdate(ComponentConfigurationUpdate &&value)
ComponentDeploymentSpecification & WithConfigurationUpdate(const ComponentConfigurationUpdate &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue