AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ec2Configuration.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Batch
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_BATCH_API Ec2Configuration();
42 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
88 inline const Aws::String& GetImageType() const{ return m_imageType; }
89 inline bool ImageTypeHasBeenSet() const { return m_imageTypeHasBeenSet; }
90 inline void SetImageType(const Aws::String& value) { m_imageTypeHasBeenSet = true; m_imageType = value; }
91 inline void SetImageType(Aws::String&& value) { m_imageTypeHasBeenSet = true; m_imageType = std::move(value); }
92 inline void SetImageType(const char* value) { m_imageTypeHasBeenSet = true; m_imageType.assign(value); }
93 inline Ec2Configuration& WithImageType(const Aws::String& value) { SetImageType(value); return *this;}
94 inline Ec2Configuration& WithImageType(Aws::String&& value) { SetImageType(std::move(value)); return *this;}
95 inline Ec2Configuration& WithImageType(const char* value) { SetImageType(value); return *this;}
97
99
112 inline const Aws::String& GetImageIdOverride() const{ return m_imageIdOverride; }
113 inline bool ImageIdOverrideHasBeenSet() const { return m_imageIdOverrideHasBeenSet; }
114 inline void SetImageIdOverride(const Aws::String& value) { m_imageIdOverrideHasBeenSet = true; m_imageIdOverride = value; }
115 inline void SetImageIdOverride(Aws::String&& value) { m_imageIdOverrideHasBeenSet = true; m_imageIdOverride = std::move(value); }
116 inline void SetImageIdOverride(const char* value) { m_imageIdOverrideHasBeenSet = true; m_imageIdOverride.assign(value); }
117 inline Ec2Configuration& WithImageIdOverride(const Aws::String& value) { SetImageIdOverride(value); return *this;}
118 inline Ec2Configuration& WithImageIdOverride(Aws::String&& value) { SetImageIdOverride(std::move(value)); return *this;}
119 inline Ec2Configuration& WithImageIdOverride(const char* value) { SetImageIdOverride(value); return *this;}
121
123
127 inline const Aws::String& GetImageKubernetesVersion() const{ return m_imageKubernetesVersion; }
128 inline bool ImageKubernetesVersionHasBeenSet() const { return m_imageKubernetesVersionHasBeenSet; }
129 inline void SetImageKubernetesVersion(const Aws::String& value) { m_imageKubernetesVersionHasBeenSet = true; m_imageKubernetesVersion = value; }
130 inline void SetImageKubernetesVersion(Aws::String&& value) { m_imageKubernetesVersionHasBeenSet = true; m_imageKubernetesVersion = std::move(value); }
131 inline void SetImageKubernetesVersion(const char* value) { m_imageKubernetesVersionHasBeenSet = true; m_imageKubernetesVersion.assign(value); }
133 inline Ec2Configuration& WithImageKubernetesVersion(Aws::String&& value) { SetImageKubernetesVersion(std::move(value)); return *this;}
134 inline Ec2Configuration& WithImageKubernetesVersion(const char* value) { SetImageKubernetesVersion(value); return *this;}
136 private:
137
138 Aws::String m_imageType;
139 bool m_imageTypeHasBeenSet = false;
140
141 Aws::String m_imageIdOverride;
142 bool m_imageIdOverrideHasBeenSet = false;
143
144 Aws::String m_imageKubernetesVersion;
145 bool m_imageKubernetesVersionHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Batch
150} // namespace Aws
const Aws::String & GetImageKubernetesVersion() const
void SetImageKubernetesVersion(Aws::String &&value)
Ec2Configuration & WithImageType(Aws::String &&value)
const Aws::String & GetImageIdOverride() const
Ec2Configuration & WithImageType(const char *value)
void SetImageIdOverride(Aws::String &&value)
Ec2Configuration & WithImageType(const Aws::String &value)
void SetImageIdOverride(const Aws::String &value)
Ec2Configuration & WithImageKubernetesVersion(const char *value)
void SetImageKubernetesVersion(const char *value)
Ec2Configuration & WithImageIdOverride(const Aws::String &value)
Ec2Configuration & WithImageKubernetesVersion(Aws::String &&value)
Ec2Configuration & WithImageKubernetesVersion(const Aws::String &value)
Ec2Configuration & WithImageIdOverride(const char *value)
AWS_BATCH_API Ec2Configuration(Aws::Utils::Json::JsonView jsonValue)
void SetImageIdOverride(const char *value)
void SetImageType(Aws::String &&value)
void SetImageType(const char *value)
const Aws::String & GetImageType() const
void SetImageKubernetesVersion(const Aws::String &value)
AWS_BATCH_API Ec2Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageType(const Aws::String &value)
Ec2Configuration & WithImageIdOverride(Aws::String &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue