AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFieldResponse.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcases/model/FieldNamespace.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/connectcases/model/FieldType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ConnectCases
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_CONNECTCASES_API GetFieldResponse();
39 AWS_CONNECTCASES_API GetFieldResponse(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECTCASES_API GetFieldResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
49 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
50 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
51 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
52 inline GetFieldResponse& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
53 inline GetFieldResponse& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
55
57
60 inline bool GetDeleted() const{ return m_deleted; }
61 inline bool DeletedHasBeenSet() const { return m_deletedHasBeenSet; }
62 inline void SetDeleted(bool value) { m_deletedHasBeenSet = true; m_deleted = value; }
63 inline GetFieldResponse& WithDeleted(bool value) { SetDeleted(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline GetFieldResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline GetFieldResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline GetFieldResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::String& GetFieldArn() const{ return m_fieldArn; }
85 inline bool FieldArnHasBeenSet() const { return m_fieldArnHasBeenSet; }
86 inline void SetFieldArn(const Aws::String& value) { m_fieldArnHasBeenSet = true; m_fieldArn = value; }
87 inline void SetFieldArn(Aws::String&& value) { m_fieldArnHasBeenSet = true; m_fieldArn = std::move(value); }
88 inline void SetFieldArn(const char* value) { m_fieldArnHasBeenSet = true; m_fieldArn.assign(value); }
89 inline GetFieldResponse& WithFieldArn(const Aws::String& value) { SetFieldArn(value); return *this;}
90 inline GetFieldResponse& WithFieldArn(Aws::String&& value) { SetFieldArn(std::move(value)); return *this;}
91 inline GetFieldResponse& WithFieldArn(const char* value) { SetFieldArn(value); return *this;}
93
95
98 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
99 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
100 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
101 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
102 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
103 inline GetFieldResponse& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
104 inline GetFieldResponse& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
105 inline GetFieldResponse& WithFieldId(const char* value) { SetFieldId(value); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
113 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
114 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
115 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
117 inline GetFieldResponse& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetName() const{ return m_name; }
125 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
126 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
127 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
128 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
129 inline GetFieldResponse& WithName(const Aws::String& value) { SetName(value); return *this;}
130 inline GetFieldResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
131 inline GetFieldResponse& WithName(const char* value) { SetName(value); return *this;}
133
135
138 inline const FieldNamespace& GetNamespace() const{ return m_namespace; }
139 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
140 inline void SetNamespace(const FieldNamespace& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
141 inline void SetNamespace(FieldNamespace&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
142 inline GetFieldResponse& WithNamespace(const FieldNamespace& value) { SetNamespace(value); return *this;}
143 inline GetFieldResponse& WithNamespace(FieldNamespace&& value) { SetNamespace(std::move(value)); return *this;}
145
147
151 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
152 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
153 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
154 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
155 inline GetFieldResponse& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
156 inline GetFieldResponse& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
157 inline GetFieldResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
158 inline GetFieldResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
159 inline GetFieldResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
160 inline GetFieldResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
161 inline GetFieldResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
162 inline GetFieldResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
163 inline GetFieldResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
165
167
170 inline const FieldType& GetType() const{ return m_type; }
171 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
172 inline void SetType(const FieldType& value) { m_typeHasBeenSet = true; m_type = value; }
173 inline void SetType(FieldType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
174 inline GetFieldResponse& WithType(const FieldType& value) { SetType(value); return *this;}
175 inline GetFieldResponse& WithType(FieldType&& value) { SetType(std::move(value)); return *this;}
177 private:
178
179 Aws::Utils::DateTime m_createdTime;
180 bool m_createdTimeHasBeenSet = false;
181
182 bool m_deleted;
183 bool m_deletedHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
188 Aws::String m_fieldArn;
189 bool m_fieldArnHasBeenSet = false;
190
191 Aws::String m_fieldId;
192 bool m_fieldIdHasBeenSet = false;
193
194 Aws::Utils::DateTime m_lastModifiedTime;
195 bool m_lastModifiedTimeHasBeenSet = false;
196
197 Aws::String m_name;
198 bool m_nameHasBeenSet = false;
199
200 FieldNamespace m_namespace;
201 bool m_namespaceHasBeenSet = false;
202
204 bool m_tagsHasBeenSet = false;
205
206 FieldType m_type;
207 bool m_typeHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace ConnectCases
212} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetFieldResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CONNECTCASES_API GetFieldResponse(Aws::Utils::Json::JsonView jsonValue)
GetFieldResponse & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const Aws::String &value)
GetFieldResponse & WithDescription(const Aws::String &value)
void SetNamespace(const FieldNamespace &value)
GetFieldResponse & WithType(FieldType &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
GetFieldResponse & WithDescription(const char *value)
GetFieldResponse & AddTags(Aws::String &&key, const char *value)
GetFieldResponse & WithName(Aws::String &&value)
GetFieldResponse & WithDeleted(bool value)
void SetFieldArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
GetFieldResponse & AddTags(Aws::String &&key, const Aws::String &value)
GetFieldResponse & WithNamespace(const FieldNamespace &value)
AWS_CONNECTCASES_API GetFieldResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(const Aws::Utils::DateTime &value)
const FieldNamespace & GetNamespace() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
GetFieldResponse & WithType(const FieldType &value)
GetFieldResponse & AddTags(const Aws::String &key, Aws::String &&value)
GetFieldResponse & AddTags(const char *key, Aws::String &&value)
void SetFieldId(const Aws::String &value)
GetFieldResponse & WithFieldId(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetNamespace(FieldNamespace &&value)
GetFieldResponse & WithFieldArn(const Aws::String &value)
GetFieldResponse & WithFieldArn(Aws::String &&value)
GetFieldResponse & WithFieldId(const char *value)
GetFieldResponse & AddTags(Aws::String &&key, Aws::String &&value)
GetFieldResponse & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetFieldResponse & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
GetFieldResponse & WithDescription(Aws::String &&value)
GetFieldResponse & WithName(const char *value)
GetFieldResponse & WithName(const Aws::String &value)
GetFieldResponse & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetFieldResponse & WithCreatedTime(const Aws::Utils::DateTime &value)
GetFieldResponse & WithFieldId(const Aws::String &value)
GetFieldResponse & WithFieldArn(const char *value)
GetFieldResponse & WithNamespace(FieldNamespace &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
GetFieldResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetFieldResponse & AddTags(const char *key, const char *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