AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
CustomRoutingEndpointConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GlobalAccelerator {
20namespace Model {
21
29 public:
30 AWS_GLOBALACCELERATOR_API CustomRoutingEndpointConfiguration() = default;
33 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetEndpointId() const { return m_endpointId; }
41 inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; }
42 template <typename EndpointIdT = Aws::String>
43 void SetEndpointId(EndpointIdT&& value) {
44 m_endpointIdHasBeenSet = true;
45 m_endpointId = std::forward<EndpointIdT>(value);
46 }
47 template <typename EndpointIdT = Aws::String>
49 SetEndpointId(std::forward<EndpointIdT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetAttachmentArn() const { return m_attachmentArn; }
61 inline bool AttachmentArnHasBeenSet() const { return m_attachmentArnHasBeenSet; }
62 template <typename AttachmentArnT = Aws::String>
63 void SetAttachmentArn(AttachmentArnT&& value) {
64 m_attachmentArnHasBeenSet = true;
65 m_attachmentArn = std::forward<AttachmentArnT>(value);
66 }
67 template <typename AttachmentArnT = Aws::String>
69 SetAttachmentArn(std::forward<AttachmentArnT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_endpointId;
75
76 Aws::String m_attachmentArn;
77 bool m_endpointIdHasBeenSet = false;
78 bool m_attachmentArnHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace GlobalAccelerator
83} // namespace Aws
AWS_GLOBALACCELERATOR_API CustomRoutingEndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
CustomRoutingEndpointConfiguration & WithAttachmentArn(AttachmentArnT &&value)
AWS_GLOBALACCELERATOR_API CustomRoutingEndpointConfiguration()=default
AWS_GLOBALACCELERATOR_API CustomRoutingEndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
CustomRoutingEndpointConfiguration & WithEndpointId(EndpointIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue