AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SystemAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/SystemEndpointAttributes.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
30 public:
31 AWS_QCONNECT_API SystemAttributes() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const SystemEndpointAttributes& GetCustomerEndpoint() const { return m_customerEndpoint; }
59 inline bool CustomerEndpointHasBeenSet() const { return m_customerEndpointHasBeenSet; }
60 template <typename CustomerEndpointT = SystemEndpointAttributes>
62 m_customerEndpointHasBeenSet = true;
63 m_customerEndpoint = std::forward<CustomerEndpointT>(value);
64 }
65 template <typename CustomerEndpointT = SystemEndpointAttributes>
67 SetCustomerEndpoint(std::forward<CustomerEndpointT>(value));
68 return *this;
69 }
71
73
76 inline const SystemEndpointAttributes& GetSystemEndpoint() const { return m_systemEndpoint; }
77 inline bool SystemEndpointHasBeenSet() const { return m_systemEndpointHasBeenSet; }
78 template <typename SystemEndpointT = SystemEndpointAttributes>
80 m_systemEndpointHasBeenSet = true;
81 m_systemEndpoint = std::forward<SystemEndpointT>(value);
82 }
83 template <typename SystemEndpointT = SystemEndpointAttributes>
85 SetSystemEndpoint(std::forward<SystemEndpointT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_name;
91
92 SystemEndpointAttributes m_customerEndpoint;
93
94 SystemEndpointAttributes m_systemEndpoint;
95 bool m_nameHasBeenSet = false;
96 bool m_customerEndpointHasBeenSet = false;
97 bool m_systemEndpointHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QConnect
102} // 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