AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CustomRoutingEndpointConfiguration.h
1
6#pragma once
7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlobalAccelerator
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLOBALACCELERATOR_API CustomRoutingEndpointConfiguration() = default;
38 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetEndpointId() const { return m_endpointId; }
47 inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; }
48 template<typename EndpointIdT = Aws::String>
49 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::forward<EndpointIdT>(value); }
50 template<typename EndpointIdT = Aws::String>
51 CustomRoutingEndpointConfiguration& WithEndpointId(EndpointIdT&& value) { SetEndpointId(std::forward<EndpointIdT>(value)); return *this;}
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) { m_attachmentArnHasBeenSet = true; m_attachmentArn = std::forward<AttachmentArnT>(value); }
64 template<typename AttachmentArnT = Aws::String>
65 CustomRoutingEndpointConfiguration& WithAttachmentArn(AttachmentArnT&& value) { SetAttachmentArn(std::forward<AttachmentArnT>(value)); return *this;}
67 private:
68
69 Aws::String m_endpointId;
70 bool m_endpointIdHasBeenSet = false;
71
72 Aws::String m_attachmentArn;
73 bool m_attachmentArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GlobalAccelerator
78} // 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