AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SystemAttributes.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/SystemEndpointAttributes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QCONNECT_API SystemAttributes() = default;
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 SystemAttributes& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const SystemEndpointAttributes& GetCustomerEndpoint() const { return m_customerEndpoint; }
59 inline bool CustomerEndpointHasBeenSet() const { return m_customerEndpointHasBeenSet; }
60 template<typename CustomerEndpointT = SystemEndpointAttributes>
61 void SetCustomerEndpoint(CustomerEndpointT&& value) { m_customerEndpointHasBeenSet = true; m_customerEndpoint = std::forward<CustomerEndpointT>(value); }
62 template<typename CustomerEndpointT = SystemEndpointAttributes>
63 SystemAttributes& WithCustomerEndpoint(CustomerEndpointT&& value) { SetCustomerEndpoint(std::forward<CustomerEndpointT>(value)); return *this;}
65
67
70 inline const SystemEndpointAttributes& GetSystemEndpoint() const { return m_systemEndpoint; }
71 inline bool SystemEndpointHasBeenSet() const { return m_systemEndpointHasBeenSet; }
72 template<typename SystemEndpointT = SystemEndpointAttributes>
73 void SetSystemEndpoint(SystemEndpointT&& value) { m_systemEndpointHasBeenSet = true; m_systemEndpoint = std::forward<SystemEndpointT>(value); }
74 template<typename SystemEndpointT = SystemEndpointAttributes>
75 SystemAttributes& WithSystemEndpoint(SystemEndpointT&& value) { SetSystemEndpoint(std::forward<SystemEndpointT>(value)); return *this;}
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 SystemEndpointAttributes m_customerEndpoint;
83 bool m_customerEndpointHasBeenSet = false;
84
85 SystemEndpointAttributes m_systemEndpoint;
86 bool m_systemEndpointHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QConnect
91} // namespace Aws
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSystemEndpoint(SystemEndpointT &&value)
SystemAttributes & WithSystemEndpoint(SystemEndpointT &&value)
const Aws::String & GetName() const
AWS_QCONNECT_API SystemAttributes()=default
SystemAttributes & WithCustomerEndpoint(CustomerEndpointT &&value)
SystemAttributes & WithName(NameT &&value)
const SystemEndpointAttributes & GetCustomerEndpoint() const
AWS_QCONNECT_API SystemAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API SystemAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const SystemEndpointAttributes & GetSystemEndpoint() const
void SetCustomerEndpoint(CustomerEndpointT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue