AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename FieldArnT = Aws::String>
49 void SetFieldArn(FieldArnT&& value) { m_fieldArnHasBeenSet = true; m_fieldArn = std::forward<FieldArnT>(value); }
50 template<typename FieldArnT = Aws::String>
51 FieldSummary& WithFieldArn(FieldArnT&& value) { SetFieldArn(std::forward<FieldArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetFieldId() const { return m_fieldId; }
59 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
60 template<typename FieldIdT = Aws::String>
61 void SetFieldId(FieldIdT&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::forward<FieldIdT>(value); }
62 template<typename FieldIdT = Aws::String>
63 FieldSummary& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 FieldSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
82 inline FieldNamespace GetNamespace() const { return m_namespace; }
83 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
84 inline void SetNamespace(FieldNamespace value) { m_namespaceHasBeenSet = true; m_namespace = value; }
85 inline FieldSummary& WithNamespace(FieldNamespace value) { SetNamespace(value); return *this;}
87
89
92 inline FieldType GetType() const { return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 inline void SetType(FieldType value) { m_typeHasBeenSet = true; m_type = value; }
95 inline FieldSummary& WithType(FieldType value) { SetType(value); return *this;}
97 private:
98
99 Aws::String m_fieldArn;
100 bool m_fieldArnHasBeenSet = false;
101
102 Aws::String m_fieldId;
103 bool m_fieldIdHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
109 bool m_namespaceHasBeenSet = false;
110
112 bool m_typeHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace ConnectCases
117} // namespace Aws
const Aws::String & GetName() const
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
FieldSummary & WithName(NameT &&value)
FieldSummary & WithType(FieldType value)
void SetNamespace(FieldNamespace value)
FieldSummary & WithNamespace(FieldNamespace value)
const Aws::String & GetFieldArn() const
AWS_CONNECTCASES_API FieldSummary()=default
AWS_CONNECTCASES_API FieldSummary(Aws::Utils::Json::JsonView jsonValue)
void SetFieldArn(FieldArnT &&value)
const Aws::String & GetFieldId() const
FieldSummary & WithFieldArn(FieldArnT &&value)
FieldSummary & WithFieldId(FieldIdT &&value)
AWS_CONNECTCASES_API FieldSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldNamespace GetNamespace() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue