AWS SDK for C++

AWS SDK for C++ Version 1.11.679

Loading...
Searching...
No Matches
CreateFirewallRuleGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53resolver/Route53ResolverRequest.h>
11#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
12#include <aws/route53resolver/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Route53Resolver {
18namespace Model {
19
23 public:
24 AWS_ROUTE53RESOLVER_API CreateFirewallRuleGroupRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateFirewallRuleGroup"; }
31
32 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
33
34 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
42 inline const Aws::String& GetCreatorRequestId() const { return m_creatorRequestId; }
43 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
44 template <typename CreatorRequestIdT = Aws::String>
45 void SetCreatorRequestId(CreatorRequestIdT&& value) {
46 m_creatorRequestIdHasBeenSet = true;
47 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
48 }
49 template <typename CreatorRequestIdT = Aws::String>
51 SetCreatorRequestId(std::forward<CreatorRequestIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 template <typename TagsT = Aws::Vector<Tag>>
82 void SetTags(TagsT&& value) {
83 m_tagsHasBeenSet = true;
84 m_tags = std::forward<TagsT>(value);
85 }
86 template <typename TagsT = Aws::Vector<Tag>>
88 SetTags(std::forward<TagsT>(value));
89 return *this;
90 }
91 template <typename TagsT = Tag>
93 m_tagsHasBeenSet = true;
94 m_tags.emplace_back(std::forward<TagsT>(value));
95 return *this;
96 }
98 private:
100 bool m_creatorRequestIdHasBeenSet = true;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 Aws::Vector<Tag> m_tags;
106 bool m_tagsHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Route53Resolver
111} // namespace Aws
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFirewallRuleGroupRequest & WithCreatorRequestId(CreatorRequestIdT &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API CreateFirewallRuleGroupRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector