AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
ConnectClientAddIn.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace WorkSpaces {
20namespace Model {
21
28 public:
29 AWS_WORKSPACES_API ConnectClientAddIn() = default;
30 AWS_WORKSPACES_API ConnectClientAddIn(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_WORKSPACES_API ConnectClientAddIn& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline const Aws::String& GetAddInId() const { return m_addInId; }
39 inline bool AddInIdHasBeenSet() const { return m_addInIdHasBeenSet; }
40 template <typename AddInIdT = Aws::String>
41 void SetAddInId(AddInIdT&& value) {
42 m_addInIdHasBeenSet = true;
43 m_addInId = std::forward<AddInIdT>(value);
44 }
45 template <typename AddInIdT = Aws::String>
46 ConnectClientAddIn& WithAddInId(AddInIdT&& value) {
47 SetAddInId(std::forward<AddInIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetResourceId() const { return m_resourceId; }
57 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
58 template <typename ResourceIdT = Aws::String>
59 void SetResourceId(ResourceIdT&& value) {
60 m_resourceIdHasBeenSet = true;
61 m_resourceId = std::forward<ResourceIdT>(value);
62 }
63 template <typename ResourceIdT = Aws::String>
64 ConnectClientAddIn& WithResourceId(ResourceIdT&& value) {
65 SetResourceId(std::forward<ResourceIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
82 ConnectClientAddIn& WithName(NameT&& value) {
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetURL() const { return m_uRL; }
93 inline bool URLHasBeenSet() const { return m_uRLHasBeenSet; }
94 template <typename URLT = Aws::String>
95 void SetURL(URLT&& value) {
96 m_uRLHasBeenSet = true;
97 m_uRL = std::forward<URLT>(value);
98 }
99 template <typename URLT = Aws::String>
101 SetURL(std::forward<URLT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_addInId;
107
108 Aws::String m_resourceId;
109
110 Aws::String m_name;
111
112 Aws::String m_uRL;
113 bool m_addInIdHasBeenSet = false;
114 bool m_resourceIdHasBeenSet = false;
115 bool m_nameHasBeenSet = false;
116 bool m_uRLHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace WorkSpaces
121} // namespace Aws
AWS_WORKSPACES_API ConnectClientAddIn(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ConnectClientAddIn & WithName(NameT &&value)
AWS_WORKSPACES_API ConnectClientAddIn & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ConnectClientAddIn & WithResourceId(ResourceIdT &&value)
ConnectClientAddIn & WithURL(URLT &&value)
AWS_WORKSPACES_API ConnectClientAddIn()=default
ConnectClientAddIn & WithAddInId(AddInIdT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String