AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateConnectionGroup2020_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 <utility>
11
12namespace Aws
13{
14namespace CloudFront
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDFRONT_API UpdateConnectionGroup2020_05_31Request() = 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 "UpdateConnectionGroup"; }
31
32 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 UpdateConnectionGroup2020_05_31Request& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
55 inline bool GetIpv6Enabled() const { return m_ipv6Enabled; }
56 inline bool Ipv6EnabledHasBeenSet() const { return m_ipv6EnabledHasBeenSet; }
57 inline void SetIpv6Enabled(bool value) { m_ipv6EnabledHasBeenSet = true; m_ipv6Enabled = value; }
58 inline UpdateConnectionGroup2020_05_31Request& WithIpv6Enabled(bool value) { SetIpv6Enabled(value); return *this;}
60
62
66 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
67 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
68 template<typename IfMatchT = Aws::String>
69 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::forward<IfMatchT>(value); }
70 template<typename IfMatchT = Aws::String>
71 UpdateConnectionGroup2020_05_31Request& WithIfMatch(IfMatchT&& value) { SetIfMatch(std::forward<IfMatchT>(value)); return *this;}
73
75
78 inline const Aws::String& GetAnycastIpListId() const { return m_anycastIpListId; }
79 inline bool AnycastIpListIdHasBeenSet() const { return m_anycastIpListIdHasBeenSet; }
80 template<typename AnycastIpListIdT = Aws::String>
81 void SetAnycastIpListId(AnycastIpListIdT&& value) { m_anycastIpListIdHasBeenSet = true; m_anycastIpListId = std::forward<AnycastIpListIdT>(value); }
82 template<typename AnycastIpListIdT = Aws::String>
83 UpdateConnectionGroup2020_05_31Request& WithAnycastIpListId(AnycastIpListIdT&& value) { SetAnycastIpListId(std::forward<AnycastIpListIdT>(value)); return *this;}
85
87
90 inline bool GetEnabled() const { return m_enabled; }
91 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
92 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
93 inline UpdateConnectionGroup2020_05_31Request& WithEnabled(bool value) { SetEnabled(value); return *this;}
95 private:
96
97 Aws::String m_id;
98 bool m_idHasBeenSet = false;
99
100 bool m_ipv6Enabled{false};
101 bool m_ipv6EnabledHasBeenSet = false;
102
103 Aws::String m_ifMatch;
104 bool m_ifMatchHasBeenSet = false;
105
106 Aws::String m_anycastIpListId;
107 bool m_anycastIpListIdHasBeenSet = false;
108
109 bool m_enabled{false};
110 bool m_enabledHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudFront
115} // namespace Aws
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateConnectionGroup2020_05_31Request & WithIfMatch(IfMatchT &&value)
UpdateConnectionGroup2020_05_31Request & WithAnycastIpListId(AnycastIpListIdT &&value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String