AWS SDK for C++

AWS SDK for C++ Version 1.11.553

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
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() = default;
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 template<typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 CreateQuickConnectRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 CreateQuickConnectRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 CreateQuickConnectRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
79 inline const QuickConnectConfig& GetQuickConnectConfig() const { return m_quickConnectConfig; }
80 inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
81 template<typename QuickConnectConfigT = QuickConnectConfig>
82 void SetQuickConnectConfig(QuickConnectConfigT&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::forward<QuickConnectConfigT>(value); }
83 template<typename QuickConnectConfigT = QuickConnectConfig>
84 CreateQuickConnectRequest& WithQuickConnectConfig(QuickConnectConfigT&& value) { SetQuickConnectConfig(std::forward<QuickConnectConfigT>(value)); return *this;}
86
88
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
93 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
96 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 CreateQuickConnectRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
98 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
99 CreateQuickConnectRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
100 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
101 }
103 private:
104
105 Aws::String m_instanceId;
106 bool m_instanceIdHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 QuickConnectConfig m_quickConnectConfig;
115 bool m_quickConnectConfigHasBeenSet = false;
116
118 bool m_tagsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Connect
123} // namespace Aws
CreateQuickConnectRequest & WithTags(TagsT &&value)
CreateQuickConnectRequest & WithDescription(DescriptionT &&value)
CreateQuickConnectRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CONNECT_API CreateQuickConnectRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetQuickConnectConfig(QuickConnectConfigT &&value)
CreateQuickConnectRequest & WithInstanceId(InstanceIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const QuickConnectConfig & GetQuickConnectConfig() const
CreateQuickConnectRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
CreateQuickConnectRequest & WithQuickConnectConfig(QuickConnectConfigT &&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