AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldSummary.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcases/model/FieldNamespace.h>
10#include <aws/connectcases/model/FieldType.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 ConnectCases
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECTCASES_API FieldSummary();
37 AWS_CONNECTCASES_API FieldSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCASES_API FieldSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldArn() const{ return m_fieldArn; }
47 inline bool FieldArnHasBeenSet() const { return m_fieldArnHasBeenSet; }
48 inline void SetFieldArn(const Aws::String& value) { m_fieldArnHasBeenSet = true; m_fieldArn = value; }
49 inline void SetFieldArn(Aws::String&& value) { m_fieldArnHasBeenSet = true; m_fieldArn = std::move(value); }
50 inline void SetFieldArn(const char* value) { m_fieldArnHasBeenSet = true; m_fieldArn.assign(value); }
51 inline FieldSummary& WithFieldArn(const Aws::String& value) { SetFieldArn(value); return *this;}
52 inline FieldSummary& WithFieldArn(Aws::String&& value) { SetFieldArn(std::move(value)); return *this;}
53 inline FieldSummary& WithFieldArn(const char* value) { SetFieldArn(value); return *this;}
55
57
60 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
61 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
62 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
63 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
64 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
65 inline FieldSummary& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
66 inline FieldSummary& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
67 inline FieldSummary& WithFieldId(const char* value) { SetFieldId(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline FieldSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline FieldSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline FieldSummary& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const FieldNamespace& GetNamespace() const{ return m_namespace; }
89 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
90 inline void SetNamespace(const FieldNamespace& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
91 inline void SetNamespace(FieldNamespace&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
92 inline FieldSummary& WithNamespace(const FieldNamespace& value) { SetNamespace(value); return *this;}
93 inline FieldSummary& WithNamespace(FieldNamespace&& value) { SetNamespace(std::move(value)); return *this;}
95
97
100 inline const FieldType& GetType() const{ return m_type; }
101 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
102 inline void SetType(const FieldType& value) { m_typeHasBeenSet = true; m_type = value; }
103 inline void SetType(FieldType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
104 inline FieldSummary& WithType(const FieldType& value) { SetType(value); return *this;}
105 inline FieldSummary& WithType(FieldType&& value) { SetType(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_fieldArn;
110 bool m_fieldArnHasBeenSet = false;
111
112 Aws::String m_fieldId;
113 bool m_fieldIdHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 FieldNamespace m_namespace;
119 bool m_namespaceHasBeenSet = false;
120
121 FieldType m_type;
122 bool m_typeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ConnectCases
127} // namespace Aws
const Aws::String & GetName() const
void SetFieldArn(const Aws::String &value)
void SetFieldArn(Aws::String &&value)
void SetNamespace(const FieldNamespace &value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
FieldSummary & WithFieldId(const char *value)
FieldSummary & WithNamespace(const FieldNamespace &value)
AWS_CONNECTCASES_API FieldSummary()
FieldSummary & WithName(const char *value)
const FieldType & GetType() const
void SetFieldId(const char *value)
FieldSummary & WithFieldId(const Aws::String &value)
void SetNamespace(FieldNamespace &&value)
void SetFieldArn(const char *value)
void SetType(const FieldType &value)
FieldSummary & WithFieldId(Aws::String &&value)
const Aws::String & GetFieldArn() const
const FieldNamespace & GetNamespace() const
FieldSummary & WithFieldArn(const Aws::String &value)
FieldSummary & WithName(Aws::String &&value)
AWS_CONNECTCASES_API FieldSummary(Aws::Utils::Json::JsonView jsonValue)
FieldSummary & WithType(const FieldType &value)
void SetFieldId(Aws::String &&value)
void SetName(Aws::String &&value)
FieldSummary & WithType(FieldType &&value)
FieldSummary & WithFieldArn(Aws::String &&value)
FieldSummary & WithName(const Aws::String &value)
FieldSummary & WithNamespace(FieldNamespace &&value)
void SetName(const Aws::String &value)
const Aws::String & GetFieldId() const
void SetFieldId(const Aws::String &value)
FieldSummary & WithFieldArn(const char *value)
AWS_CONNECTCASES_API FieldSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue