AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssistantAssociationSummary.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/model/AssistantAssociationOutputData.h>
10#include <aws/wisdom/model/AssociationType.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 ConnectWisdomService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECTWISDOMSERVICE_API AssistantAssociationSummary();
39 AWS_CONNECTWISDOMSERVICE_API AssistantAssociationSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECTWISDOMSERVICE_API AssistantAssociationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
49 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
50 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
51 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
52 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
53 inline AssistantAssociationSummary& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
54 inline AssistantAssociationSummary& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
55 inline AssistantAssociationSummary& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
57
59
62 inline const Aws::String& GetAssistantAssociationArn() const{ return m_assistantAssociationArn; }
63 inline bool AssistantAssociationArnHasBeenSet() const { return m_assistantAssociationArnHasBeenSet; }
64 inline void SetAssistantAssociationArn(const Aws::String& value) { m_assistantAssociationArnHasBeenSet = true; m_assistantAssociationArn = value; }
65 inline void SetAssistantAssociationArn(Aws::String&& value) { m_assistantAssociationArnHasBeenSet = true; m_assistantAssociationArn = std::move(value); }
66 inline void SetAssistantAssociationArn(const char* value) { m_assistantAssociationArnHasBeenSet = true; m_assistantAssociationArn.assign(value); }
71
73
76 inline const Aws::String& GetAssistantAssociationId() const{ return m_assistantAssociationId; }
77 inline bool AssistantAssociationIdHasBeenSet() const { return m_assistantAssociationIdHasBeenSet; }
78 inline void SetAssistantAssociationId(const Aws::String& value) { m_assistantAssociationIdHasBeenSet = true; m_assistantAssociationId = value; }
79 inline void SetAssistantAssociationId(Aws::String&& value) { m_assistantAssociationIdHasBeenSet = true; m_assistantAssociationId = std::move(value); }
80 inline void SetAssistantAssociationId(const char* value) { m_assistantAssociationIdHasBeenSet = true; m_assistantAssociationId.assign(value); }
83 inline AssistantAssociationSummary& WithAssistantAssociationId(const char* value) { SetAssistantAssociationId(value); return *this;}
85
87
90 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
91 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
92 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
93 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
94 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
95 inline AssistantAssociationSummary& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
96 inline AssistantAssociationSummary& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
97 inline AssistantAssociationSummary& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
99
101
104 inline const AssistantAssociationOutputData& GetAssociationData() const{ return m_associationData; }
105 inline bool AssociationDataHasBeenSet() const { return m_associationDataHasBeenSet; }
106 inline void SetAssociationData(const AssistantAssociationOutputData& value) { m_associationDataHasBeenSet = true; m_associationData = value; }
107 inline void SetAssociationData(AssistantAssociationOutputData&& value) { m_associationDataHasBeenSet = true; m_associationData = std::move(value); }
111
113
116 inline const AssociationType& GetAssociationType() const{ return m_associationType; }
117 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
118 inline void SetAssociationType(const AssociationType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
119 inline void SetAssociationType(AssociationType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
121 inline AssistantAssociationSummary& WithAssociationType(AssociationType&& value) { SetAssociationType(std::move(value)); return *this;}
123
125
128 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
131 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
133 inline AssistantAssociationSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
134 inline AssistantAssociationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
135 inline AssistantAssociationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136 inline AssistantAssociationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
137 inline AssistantAssociationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
138 inline AssistantAssociationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
139 inline AssistantAssociationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline AssistantAssociationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142 private:
143
144 Aws::String m_assistantArn;
145 bool m_assistantArnHasBeenSet = false;
146
147 Aws::String m_assistantAssociationArn;
148 bool m_assistantAssociationArnHasBeenSet = false;
149
150 Aws::String m_assistantAssociationId;
151 bool m_assistantAssociationIdHasBeenSet = false;
152
153 Aws::String m_assistantId;
154 bool m_assistantIdHasBeenSet = false;
155
156 AssistantAssociationOutputData m_associationData;
157 bool m_associationDataHasBeenSet = false;
158
159 AssociationType m_associationType;
160 bool m_associationTypeHasBeenSet = false;
161
163 bool m_tagsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace ConnectWisdomService
168} // namespace Aws
AssistantAssociationSummary & AddTags(Aws::String &&key, const Aws::String &value)
AssistantAssociationSummary & AddTags(Aws::String &&key, Aws::String &&value)
AssistantAssociationSummary & WithAssistantArn(const Aws::String &value)
void SetAssociationData(const AssistantAssociationOutputData &value)
const AssistantAssociationOutputData & GetAssociationData() const
AssistantAssociationSummary & AddTags(const Aws::String &key, const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API AssistantAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssistantAssociationSummary & AddTags(const char *key, const char *value)
AssistantAssociationSummary & AddTags(const Aws::String &key, Aws::String &&value)
AssistantAssociationSummary & WithAssistantArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AssistantAssociationSummary & WithAssistantAssociationId(const char *value)
AssistantAssociationSummary & WithAssociationType(const AssociationType &value)
AssistantAssociationSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CONNECTWISDOMSERVICE_API AssistantAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AssistantAssociationSummary & WithAssociationData(AssistantAssociationOutputData &&value)
AssistantAssociationSummary & WithAssociationType(AssociationType &&value)
AssistantAssociationSummary & WithAssistantAssociationId(Aws::String &&value)
AssistantAssociationSummary & WithAssistantAssociationId(const Aws::String &value)
AssistantAssociationSummary & WithAssistantAssociationArn(const Aws::String &value)
AssistantAssociationSummary & WithAssistantAssociationArn(const char *value)
AssistantAssociationSummary & AddTags(const char *key, Aws::String &&value)
AssistantAssociationSummary & AddTags(Aws::String &&key, const char *value)
AssistantAssociationSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AssistantAssociationSummary & WithAssistantId(const char *value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AssistantAssociationSummary & WithAssistantArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AssistantAssociationSummary & WithAssistantId(const Aws::String &value)
AssistantAssociationSummary & WithAssistantId(Aws::String &&value)
AssistantAssociationSummary & WithAssociationData(const AssistantAssociationOutputData &value)
AssistantAssociationSummary & WithAssistantAssociationArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, 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