AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerProvider.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/model/ContainerProviderType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/emr-containers/model/ContainerInfo.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 EMRContainers
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_EMRCONTAINERS_API ContainerProvider();
37 AWS_EMRCONTAINERS_API ContainerProvider(Aws::Utils::Json::JsonView jsonValue);
38 AWS_EMRCONTAINERS_API ContainerProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ContainerProviderType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const ContainerProviderType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(ContainerProviderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline ContainerProvider& WithType(const ContainerProviderType& value) { SetType(value); return *this;}
52 inline ContainerProvider& WithType(ContainerProviderType&& value) { SetType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 inline ContainerProvider& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline ContainerProvider& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline ContainerProvider& WithId(const char* value) { SetId(value); return *this;}
68
70
73 inline const ContainerInfo& GetInfo() const{ return m_info; }
74 inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
75 inline void SetInfo(const ContainerInfo& value) { m_infoHasBeenSet = true; m_info = value; }
76 inline void SetInfo(ContainerInfo&& value) { m_infoHasBeenSet = true; m_info = std::move(value); }
77 inline ContainerProvider& WithInfo(const ContainerInfo& value) { SetInfo(value); return *this;}
78 inline ContainerProvider& WithInfo(ContainerInfo&& value) { SetInfo(std::move(value)); return *this;}
80 private:
81
83 bool m_typeHasBeenSet = false;
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 ContainerInfo m_info;
89 bool m_infoHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EMRContainers
94} // namespace Aws
AWS_EMRCONTAINERS_API ContainerProvider(Aws::Utils::Json::JsonView jsonValue)
ContainerProvider & WithId(Aws::String &&value)
ContainerProvider & WithId(const char *value)
ContainerProvider & WithId(const Aws::String &value)
ContainerProvider & WithInfo(const ContainerInfo &value)
void SetType(const ContainerProviderType &value)
const ContainerProviderType & GetType() const
void SetType(ContainerProviderType &&value)
ContainerProvider & WithInfo(ContainerInfo &&value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerProvider & WithType(const ContainerProviderType &value)
void SetInfo(const ContainerInfo &value)
AWS_EMRCONTAINERS_API ContainerProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerProvider & WithType(ContainerProviderType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue