AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityConfiguration.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/emr-containers/model/SecurityConfigurationData.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EMRContainers
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_EMRCONTAINERS_API SecurityConfiguration();
42 AWS_EMRCONTAINERS_API SecurityConfiguration(Aws::Utils::Json::JsonView jsonValue);
44 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetId() const{ return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
56 inline SecurityConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline SecurityConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline SecurityConfiguration& WithId(const char* value) { SetId(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline SecurityConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline SecurityConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline SecurityConfiguration& WithName(const char* value) { SetName(value); return *this;}
74
76
79 inline const Aws::String& GetArn() const{ return m_arn; }
80 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
81 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
82 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
83 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
84 inline SecurityConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
85 inline SecurityConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
86 inline SecurityConfiguration& WithArn(const char* value) { SetArn(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
96 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
97 inline SecurityConfiguration& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
98 inline SecurityConfiguration& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
106 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
107 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
108 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
109 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
110 inline SecurityConfiguration& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
111 inline SecurityConfiguration& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
112 inline SecurityConfiguration& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
114
116
119 inline const SecurityConfigurationData& GetSecurityConfigurationData() const{ return m_securityConfigurationData; }
120 inline bool SecurityConfigurationDataHasBeenSet() const { return m_securityConfigurationDataHasBeenSet; }
121 inline void SetSecurityConfigurationData(const SecurityConfigurationData& value) { m_securityConfigurationDataHasBeenSet = true; m_securityConfigurationData = value; }
122 inline void SetSecurityConfigurationData(SecurityConfigurationData&& value) { m_securityConfigurationDataHasBeenSet = true; m_securityConfigurationData = std::move(value); }
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
134 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
135 inline SecurityConfiguration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
136 inline SecurityConfiguration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
137 inline SecurityConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
138 inline SecurityConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline SecurityConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
140 inline SecurityConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
141 inline SecurityConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
142 inline SecurityConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
143 inline SecurityConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
145 private:
146
147 Aws::String m_id;
148 bool m_idHasBeenSet = false;
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
153 Aws::String m_arn;
154 bool m_arnHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdAt;
157 bool m_createdAtHasBeenSet = false;
158
159 Aws::String m_createdBy;
160 bool m_createdByHasBeenSet = false;
161
162 SecurityConfigurationData m_securityConfigurationData;
163 bool m_securityConfigurationDataHasBeenSet = false;
164
166 bool m_tagsHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace EMRContainers
171} // namespace Aws
SecurityConfiguration & WithArn(const Aws::String &value)
SecurityConfiguration & WithSecurityConfigurationData(const SecurityConfigurationData &value)
SecurityConfiguration & WithCreatedBy(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SecurityConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
SecurityConfiguration & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SecurityConfiguration & WithName(Aws::String &&value)
SecurityConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSecurityConfigurationData(SecurityConfigurationData &&value)
AWS_EMRCONTAINERS_API SecurityConfiguration(Aws::Utils::Json::JsonView jsonValue)
SecurityConfiguration & WithArn(Aws::String &&value)
SecurityConfiguration & WithId(Aws::String &&value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityConfiguration & WithName(const Aws::String &value)
SecurityConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
SecurityConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
SecurityConfiguration & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetSecurityConfigurationData(const SecurityConfigurationData &value)
SecurityConfiguration & WithId(const char *value)
SecurityConfiguration & WithSecurityConfigurationData(SecurityConfigurationData &&value)
SecurityConfiguration & WithCreatedBy(Aws::String &&value)
SecurityConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
SecurityConfiguration & WithName(const char *value)
SecurityConfiguration & WithArn(const char *value)
const SecurityConfigurationData & GetSecurityConfigurationData() const
SecurityConfiguration & AddTags(Aws::String &&key, const char *value)
SecurityConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_EMRCONTAINERS_API SecurityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityConfiguration & AddTags(const char *key, const char *value)
SecurityConfiguration & WithCreatedBy(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
SecurityConfiguration & WithId(const Aws::String &value)
SecurityConfiguration & AddTags(const char *key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue