AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssistantAssociationData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/AssistantAssociationOutputData.h>
10#include <aws/qconnect/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 QConnect
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QCONNECT_API AssistantAssociationData();
40 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
48 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
49 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
50 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
51 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
52 inline AssistantAssociationData& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
53 inline AssistantAssociationData& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
54 inline AssistantAssociationData& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
56
58
61 inline const Aws::String& GetAssistantAssociationArn() const{ return m_assistantAssociationArn; }
62 inline bool AssistantAssociationArnHasBeenSet() const { return m_assistantAssociationArnHasBeenSet; }
63 inline void SetAssistantAssociationArn(const Aws::String& value) { m_assistantAssociationArnHasBeenSet = true; m_assistantAssociationArn = value; }
64 inline void SetAssistantAssociationArn(Aws::String&& value) { m_assistantAssociationArnHasBeenSet = true; m_assistantAssociationArn = std::move(value); }
65 inline void SetAssistantAssociationArn(const char* value) { m_assistantAssociationArnHasBeenSet = true; m_assistantAssociationArn.assign(value); }
68 inline AssistantAssociationData& WithAssistantAssociationArn(const char* value) { SetAssistantAssociationArn(value); return *this;}
70
72
75 inline const Aws::String& GetAssistantAssociationId() const{ return m_assistantAssociationId; }
76 inline bool AssistantAssociationIdHasBeenSet() const { return m_assistantAssociationIdHasBeenSet; }
77 inline void SetAssistantAssociationId(const Aws::String& value) { m_assistantAssociationIdHasBeenSet = true; m_assistantAssociationId = value; }
78 inline void SetAssistantAssociationId(Aws::String&& value) { m_assistantAssociationIdHasBeenSet = true; m_assistantAssociationId = std::move(value); }
79 inline void SetAssistantAssociationId(const char* value) { m_assistantAssociationIdHasBeenSet = true; m_assistantAssociationId.assign(value); }
82 inline AssistantAssociationData& WithAssistantAssociationId(const char* value) { SetAssistantAssociationId(value); return *this;}
84
86
89 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
90 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
91 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
92 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
93 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
94 inline AssistantAssociationData& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
95 inline AssistantAssociationData& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
96 inline AssistantAssociationData& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
98
100
103 inline const AssistantAssociationOutputData& GetAssociationData() const{ return m_associationData; }
104 inline bool AssociationDataHasBeenSet() const { return m_associationDataHasBeenSet; }
105 inline void SetAssociationData(const AssistantAssociationOutputData& value) { m_associationDataHasBeenSet = true; m_associationData = value; }
106 inline void SetAssociationData(AssistantAssociationOutputData&& value) { m_associationDataHasBeenSet = true; m_associationData = std::move(value); }
110
112
115 inline const AssociationType& GetAssociationType() const{ return m_associationType; }
116 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
117 inline void SetAssociationType(const AssociationType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
118 inline void SetAssociationType(AssociationType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
120 inline AssistantAssociationData& WithAssociationType(AssociationType&& value) { SetAssociationType(std::move(value)); return *this;}
122
124
127 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
128 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
130 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
132 inline AssistantAssociationData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
133 inline AssistantAssociationData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
134 inline AssistantAssociationData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
135 inline AssistantAssociationData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
136 inline AssistantAssociationData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
137 inline AssistantAssociationData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
138 inline AssistantAssociationData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline AssistantAssociationData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
141 private:
142
143 Aws::String m_assistantArn;
144 bool m_assistantArnHasBeenSet = false;
145
146 Aws::String m_assistantAssociationArn;
147 bool m_assistantAssociationArnHasBeenSet = false;
148
149 Aws::String m_assistantAssociationId;
150 bool m_assistantAssociationIdHasBeenSet = false;
151
152 Aws::String m_assistantId;
153 bool m_assistantIdHasBeenSet = false;
154
155 AssistantAssociationOutputData m_associationData;
156 bool m_associationDataHasBeenSet = false;
157
158 AssociationType m_associationType;
159 bool m_associationTypeHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace QConnect
167} // namespace Aws
AssistantAssociationData & WithAssistantId(const Aws::String &value)
AssistantAssociationData & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAssociationType(const AssociationType &value)
AssistantAssociationData & WithAssociationType(const AssociationType &value)
AssistantAssociationData & AddTags(Aws::String &&key, Aws::String &&value)
AssistantAssociationData & AddTags(Aws::String &&key, const Aws::String &value)
AssistantAssociationData & AddTags(const char *key, Aws::String &&value)
AssistantAssociationData & WithAssistantAssociationArn(Aws::String &&value)
AssistantAssociationData & AddTags(const Aws::String &key, Aws::String &&value)
AssistantAssociationData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AssistantAssociationData & WithAssistantArn(const Aws::String &value)
AssistantAssociationData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAssociationData(AssistantAssociationOutputData &&value)
AssistantAssociationData & WithAssistantId(const char *value)
AssistantAssociationData & WithAssistantAssociationId(const Aws::String &value)
void SetAssociationData(const AssistantAssociationOutputData &value)
AssistantAssociationData & WithAssistantArn(const char *value)
const AssistantAssociationOutputData & GetAssociationData() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AssistantAssociationData & WithAssistantArn(Aws::String &&value)
AssistantAssociationData & WithAssistantId(Aws::String &&value)
AssistantAssociationData & WithAssociationData(const AssistantAssociationOutputData &value)
AssistantAssociationData & WithAssistantAssociationId(Aws::String &&value)
AssistantAssociationData & AddTags(const Aws::String &key, const Aws::String &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AssistantAssociationData & WithAssistantAssociationArn(const Aws::String &value)
AssistantAssociationData & WithAssistantAssociationId(const char *value)
AssistantAssociationData & AddTags(const char *key, const char *value)
AssistantAssociationData & WithAssociationType(AssociationType &&value)
AssistantAssociationData & WithAssistantAssociationArn(const char *value)
AWS_QCONNECT_API AssistantAssociationData(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API AssistantAssociationData & operator=(Aws::Utils::Json::JsonView jsonValue)
AssistantAssociationData & WithAssociationData(AssistantAssociationOutputData &&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