AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentConfiguration.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/model/ComponentParameter.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 imagebuilder
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IMAGEBUILDER_API ComponentConfiguration();
37 AWS_IMAGEBUILDER_API ComponentConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetComponentArn() const{ return m_componentArn; }
47 inline bool ComponentArnHasBeenSet() const { return m_componentArnHasBeenSet; }
48 inline void SetComponentArn(const Aws::String& value) { m_componentArnHasBeenSet = true; m_componentArn = value; }
49 inline void SetComponentArn(Aws::String&& value) { m_componentArnHasBeenSet = true; m_componentArn = std::move(value); }
50 inline void SetComponentArn(const char* value) { m_componentArnHasBeenSet = true; m_componentArn.assign(value); }
51 inline ComponentConfiguration& WithComponentArn(const Aws::String& value) { SetComponentArn(value); return *this;}
52 inline ComponentConfiguration& WithComponentArn(Aws::String&& value) { SetComponentArn(std::move(value)); return *this;}
53 inline ComponentConfiguration& WithComponentArn(const char* value) { SetComponentArn(value); return *this;}
55
57
61 inline const Aws::Vector<ComponentParameter>& GetParameters() const{ return m_parameters; }
62 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
63 inline void SetParameters(const Aws::Vector<ComponentParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
64 inline void SetParameters(Aws::Vector<ComponentParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
66 inline ComponentConfiguration& WithParameters(Aws::Vector<ComponentParameter>&& value) { SetParameters(std::move(value)); return *this;}
67 inline ComponentConfiguration& AddParameters(const ComponentParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
68 inline ComponentConfiguration& AddParameters(ComponentParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_componentArn;
73 bool m_componentArnHasBeenSet = false;
74
76 bool m_parametersHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace imagebuilder
81} // namespace Aws
ComponentConfiguration & WithComponentArn(Aws::String &&value)
ComponentConfiguration & WithParameters(const Aws::Vector< ComponentParameter > &value)
void SetParameters(Aws::Vector< ComponentParameter > &&value)
ComponentConfiguration & WithComponentArn(const Aws::String &value)
AWS_IMAGEBUILDER_API ComponentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ComponentParameter > & GetParameters() const
AWS_IMAGEBUILDER_API ComponentConfiguration(Aws::Utils::Json::JsonView jsonValue)
ComponentConfiguration & WithParameters(Aws::Vector< ComponentParameter > &&value)
ComponentConfiguration & AddParameters(const ComponentParameter &value)
void SetParameters(const Aws::Vector< ComponentParameter > &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentConfiguration & AddParameters(ComponentParameter &&value)
ComponentConfiguration & WithComponentArn(const char *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