AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateGlobalNetworkRequest.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/networkmanager/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace NetworkManager
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NETWORKMANAGER_API CreateGlobalNetworkRequest() = 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 "CreateGlobalNetwork"; }
33
34 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetDescription() const { return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 template<typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
46 template<typename DescriptionT = Aws::String>
47 CreateGlobalNetworkRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
49
51
54 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
55 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
56 template<typename TagsT = Aws::Vector<Tag>>
57 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
58 template<typename TagsT = Aws::Vector<Tag>>
59 CreateGlobalNetworkRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
60 template<typename TagsT = Tag>
61 CreateGlobalNetworkRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
63 private:
64
65 Aws::String m_description;
66 bool m_descriptionHasBeenSet = false;
67
68 Aws::Vector<Tag> m_tags;
69 bool m_tagsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace NetworkManager
74} // namespace Aws
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
AWS_NETWORKMANAGER_API CreateGlobalNetworkRequest()=default
CreateGlobalNetworkRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector