AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalInstanceConfiguration.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/SystemsManagerAgent.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_IMAGEBUILDER_API AdditionalInstanceConfiguration();
46 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const SystemsManagerAgent& GetSystemsManagerAgent() const{ return m_systemsManagerAgent; }
54 inline bool SystemsManagerAgentHasBeenSet() const { return m_systemsManagerAgentHasBeenSet; }
55 inline void SetSystemsManagerAgent(const SystemsManagerAgent& value) { m_systemsManagerAgentHasBeenSet = true; m_systemsManagerAgent = value; }
56 inline void SetSystemsManagerAgent(SystemsManagerAgent&& value) { m_systemsManagerAgentHasBeenSet = true; m_systemsManagerAgent = std::move(value); }
60
62
73 inline const Aws::String& GetUserDataOverride() const{ return m_userDataOverride; }
74 inline bool UserDataOverrideHasBeenSet() const { return m_userDataOverrideHasBeenSet; }
75 inline void SetUserDataOverride(const Aws::String& value) { m_userDataOverrideHasBeenSet = true; m_userDataOverride = value; }
76 inline void SetUserDataOverride(Aws::String&& value) { m_userDataOverrideHasBeenSet = true; m_userDataOverride = std::move(value); }
77 inline void SetUserDataOverride(const char* value) { m_userDataOverrideHasBeenSet = true; m_userDataOverride.assign(value); }
79 inline AdditionalInstanceConfiguration& WithUserDataOverride(Aws::String&& value) { SetUserDataOverride(std::move(value)); return *this;}
80 inline AdditionalInstanceConfiguration& WithUserDataOverride(const char* value) { SetUserDataOverride(value); return *this;}
82 private:
83
84 SystemsManagerAgent m_systemsManagerAgent;
85 bool m_systemsManagerAgentHasBeenSet = false;
86
87 Aws::String m_userDataOverride;
88 bool m_userDataOverrideHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace imagebuilder
93} // namespace Aws
AdditionalInstanceConfiguration & WithUserDataOverride(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AdditionalInstanceConfiguration & WithSystemsManagerAgent(SystemsManagerAgent &&value)
AdditionalInstanceConfiguration & WithUserDataOverride(const char *value)
AdditionalInstanceConfiguration & WithUserDataOverride(Aws::String &&value)
AWS_IMAGEBUILDER_API AdditionalInstanceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AdditionalInstanceConfiguration & WithSystemsManagerAgent(const SystemsManagerAgent &value)
AWS_IMAGEBUILDER_API AdditionalInstanceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue