AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceConfig.h
1
6#pragma once
7#include <aws/pcs/PCS_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 PCS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PCS_API InstanceConfig();
39
40
42
46 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
47 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
48 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
49 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
50 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
51 inline InstanceConfig& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
52 inline InstanceConfig& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
53 inline InstanceConfig& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
55 private:
56
57 Aws::String m_instanceType;
58 bool m_instanceTypeHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace PCS
63} // namespace Aws
InstanceConfig & WithInstanceType(const char *value)
AWS_PCS_API InstanceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PCS_API InstanceConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceType() const
InstanceConfig & WithInstanceType(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
InstanceConfig & WithInstanceType(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue