7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgentRequest.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/PrivateConnectionMode.h>
16namespace DevOpsAgent {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename ModeT = PrivateConnectionMode>
62 m_modeHasBeenSet =
true;
63 m_mode = std::forward<ModeT>(value);
65 template <
typename ModeT = PrivateConnectionMode>
67 SetMode(std::forward<ModeT>(value));
78 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 m_tagsHasBeenSet =
true;
81 m_tags = std::forward<TagsT>(value);
83 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 SetTags(std::forward<TagsT>(value));
88 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
90 m_tagsHasBeenSet =
true;
91 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
101 bool m_nameHasBeenSet =
false;
102 bool m_modeHasBeenSet =
false;
103 bool m_tagsHasBeenSet =
false;
AWS_DEVOPSAGENT_API CreatePrivateConnectionRequest()=default
CreatePrivateConnectionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePrivateConnectionRequest & WithMode(ModeT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
CreatePrivateConnectionRequest & WithName(NameT &&value)
void SetName(NameT &&value)
const PrivateConnectionMode & GetMode() const
const Aws::String & GetName() const
CreatePrivateConnectionRequest & WithTags(TagsT &&value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMode(ModeT &&value)
bool ModeHasBeenSet() const
bool NameHasBeenSet() const
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