AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociationConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/AssociationConfigurationData.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/AIAgentAssociationConfigurationType.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 QConnect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QCONNECT_API AssociationConfiguration();
40 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AssociationConfigurationData& GetAssociationConfigurationData() const{ return m_associationConfigurationData; }
49 inline bool AssociationConfigurationDataHasBeenSet() const { return m_associationConfigurationDataHasBeenSet; }
50 inline void SetAssociationConfigurationData(const AssociationConfigurationData& value) { m_associationConfigurationDataHasBeenSet = true; m_associationConfigurationData = value; }
51 inline void SetAssociationConfigurationData(AssociationConfigurationData&& value) { m_associationConfigurationDataHasBeenSet = true; m_associationConfigurationData = std::move(value); }
55
57
60 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
61 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
62 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
63 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
64 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
65 inline AssociationConfiguration& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
66 inline AssociationConfiguration& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
67 inline AssociationConfiguration& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
69
71
74 inline const AIAgentAssociationConfigurationType& GetAssociationType() const{ return m_associationType; }
75 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
76 inline void SetAssociationType(const AIAgentAssociationConfigurationType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
77 inline void SetAssociationType(AIAgentAssociationConfigurationType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
81 private:
82
83 AssociationConfigurationData m_associationConfigurationData;
84 bool m_associationConfigurationDataHasBeenSet = false;
85
86 Aws::String m_associationId;
87 bool m_associationIdHasBeenSet = false;
88
90 bool m_associationTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QConnect
95} // namespace Aws
AWS_QCONNECT_API AssociationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AssociationConfiguration & WithAssociationConfigurationData(AssociationConfigurationData &&value)
AssociationConfiguration & WithAssociationId(const Aws::String &value)
void SetAssociationConfigurationData(const AssociationConfigurationData &value)
void SetAssociationType(AIAgentAssociationConfigurationType &&value)
AssociationConfiguration & WithAssociationId(const char *value)
AssociationConfiguration & WithAssociationType(AIAgentAssociationConfigurationType &&value)
AWS_QCONNECT_API AssociationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationConfiguration & WithAssociationConfigurationData(const AssociationConfigurationData &value)
AssociationConfiguration & WithAssociationId(Aws::String &&value)
void SetAssociationConfigurationData(AssociationConfigurationData &&value)
void SetAssociationType(const AIAgentAssociationConfigurationType &value)
const AssociationConfigurationData & GetAssociationConfigurationData() const
AssociationConfiguration & WithAssociationType(const AIAgentAssociationConfigurationType &value)
const AIAgentAssociationConfigurationType & GetAssociationType() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue