AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQuickConnectRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/QuickConnectConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API CreateQuickConnectRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateQuickConnect"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline CreateQuickConnectRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline CreateQuickConnectRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline CreateQuickConnectRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline CreateQuickConnectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateQuickConnectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateQuickConnectRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline CreateQuickConnectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline CreateQuickConnectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline CreateQuickConnectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; }
86 inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
87 inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; }
88 inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); }
92
94
98 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
99 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
100 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
101 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
103 inline CreateQuickConnectRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
104 inline CreateQuickConnectRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
105 inline CreateQuickConnectRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
106 inline CreateQuickConnectRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
107 inline CreateQuickConnectRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
108 inline CreateQuickConnectRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
109 inline CreateQuickConnectRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline CreateQuickConnectRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
112 private:
113
114 Aws::String m_instanceId;
115 bool m_instanceIdHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 QuickConnectConfig m_quickConnectConfig;
124 bool m_quickConnectConfigHasBeenSet = false;
125
127 bool m_tagsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Connect
132} // namespace Aws
CreateQuickConnectRequest & AddTags(const char *key, Aws::String &&value)
CreateQuickConnectRequest & WithDescription(Aws::String &&value)
CreateQuickConnectRequest & WithInstanceId(const Aws::String &value)
CreateQuickConnectRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateQuickConnectRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateQuickConnectRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateQuickConnectRequest & AddTags(Aws::String &&key, const char *value)
CreateQuickConnectRequest & WithInstanceId(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateQuickConnectRequest & AddTags(const char *key, const char *value)
CreateQuickConnectRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateQuickConnectRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateQuickConnectRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateQuickConnectRequest & WithQuickConnectConfig(const QuickConnectConfig &value)
CreateQuickConnectRequest & WithName(const char *value)
CreateQuickConnectRequest & WithName(const Aws::String &value)
CreateQuickConnectRequest & WithName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const QuickConnectConfig & GetQuickConnectConfig() const
CreateQuickConnectRequest & WithDescription(const char *value)
CreateQuickConnectRequest & WithDescription(const Aws::String &value)
void SetQuickConnectConfig(const QuickConnectConfig &value)
CreateQuickConnectRequest & WithQuickConnectConfig(QuickConnectConfig &&value)
CreateQuickConnectRequest & WithInstanceId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
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