AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateConnectionGroup2020_05_31Request.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/CloudFrontRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudfront/model/Tags.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFront
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDFRONT_API CreateConnectionGroup2020_05_31Request() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateConnectionGroup"; }
32
33 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 CreateConnectionGroup2020_05_31Request& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
57 inline bool GetIpv6Enabled() const { return m_ipv6Enabled; }
58 inline bool Ipv6EnabledHasBeenSet() const { return m_ipv6EnabledHasBeenSet; }
59 inline void SetIpv6Enabled(bool value) { m_ipv6EnabledHasBeenSet = true; m_ipv6Enabled = value; }
60 inline CreateConnectionGroup2020_05_31Request& WithIpv6Enabled(bool value) { SetIpv6Enabled(value); return *this;}
62
64
65 inline const Tags& GetTags() const { return m_tags; }
66 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
67 template<typename TagsT = Tags>
68 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
69 template<typename TagsT = Tags>
70 CreateConnectionGroup2020_05_31Request& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
72
74
77 inline const Aws::String& GetAnycastIpListId() const { return m_anycastIpListId; }
78 inline bool AnycastIpListIdHasBeenSet() const { return m_anycastIpListIdHasBeenSet; }
79 template<typename AnycastIpListIdT = Aws::String>
80 void SetAnycastIpListId(AnycastIpListIdT&& value) { m_anycastIpListIdHasBeenSet = true; m_anycastIpListId = std::forward<AnycastIpListIdT>(value); }
81 template<typename AnycastIpListIdT = Aws::String>
82 CreateConnectionGroup2020_05_31Request& WithAnycastIpListId(AnycastIpListIdT&& value) { SetAnycastIpListId(std::forward<AnycastIpListIdT>(value)); return *this;}
84
86
89 inline bool GetEnabled() const { return m_enabled; }
90 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
91 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
92 inline CreateConnectionGroup2020_05_31Request& WithEnabled(bool value) { SetEnabled(value); return *this;}
94 private:
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 bool m_ipv6Enabled{false};
100 bool m_ipv6EnabledHasBeenSet = false;
101
102 Tags m_tags;
103 bool m_tagsHasBeenSet = false;
104
105 Aws::String m_anycastIpListId;
106 bool m_anycastIpListIdHasBeenSet = false;
107
108 bool m_enabled{false};
109 bool m_enabledHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CloudFront
114} // namespace Aws
CreateConnectionGroup2020_05_31Request & WithAnycastIpListId(AnycastIpListIdT &&value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String