AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
WorkspaceAssociationSearchSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API WorkspaceAssociationSearchSummary() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
40 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
41 template <typename WorkspaceIdT = Aws::String>
42 void SetWorkspaceId(WorkspaceIdT&& value) {
43 m_workspaceIdHasBeenSet = true;
44 m_workspaceId = std::forward<WorkspaceIdT>(value);
45 }
46 template <typename WorkspaceIdT = Aws::String>
48 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetWorkspaceArn() const { return m_workspaceArn; }
58 inline bool WorkspaceArnHasBeenSet() const { return m_workspaceArnHasBeenSet; }
59 template <typename WorkspaceArnT = Aws::String>
60 void SetWorkspaceArn(WorkspaceArnT&& value) {
61 m_workspaceArnHasBeenSet = true;
62 m_workspaceArn = std::forward<WorkspaceArnT>(value);
63 }
64 template <typename WorkspaceArnT = Aws::String>
66 SetWorkspaceArn(std::forward<WorkspaceArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetResourceId() const { return m_resourceId; }
76 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
77 template <typename ResourceIdT = Aws::String>
78 void SetResourceId(ResourceIdT&& value) {
79 m_resourceIdHasBeenSet = true;
80 m_resourceId = std::forward<ResourceIdT>(value);
81 }
82 template <typename ResourceIdT = Aws::String>
84 SetResourceId(std::forward<ResourceIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
94 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
95 template <typename ResourceArnT = Aws::String>
96 void SetResourceArn(ResourceArnT&& value) {
97 m_resourceArnHasBeenSet = true;
98 m_resourceArn = std::forward<ResourceArnT>(value);
99 }
100 template <typename ResourceArnT = Aws::String>
102 SetResourceArn(std::forward<ResourceArnT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetResourceType() const { return m_resourceType; }
113 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
114 template <typename ResourceTypeT = Aws::String>
115 void SetResourceType(ResourceTypeT&& value) {
116 m_resourceTypeHasBeenSet = true;
117 m_resourceType = std::forward<ResourceTypeT>(value);
118 }
119 template <typename ResourceTypeT = Aws::String>
121 SetResourceType(std::forward<ResourceTypeT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetResourceName() const { return m_resourceName; }
131 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
132 template <typename ResourceNameT = Aws::String>
133 void SetResourceName(ResourceNameT&& value) {
134 m_resourceNameHasBeenSet = true;
135 m_resourceName = std::forward<ResourceNameT>(value);
136 }
137 template <typename ResourceNameT = Aws::String>
139 SetResourceName(std::forward<ResourceNameT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_workspaceId;
145
146 Aws::String m_workspaceArn;
147
148 Aws::String m_resourceId;
149
150 Aws::String m_resourceArn;
151
152 Aws::String m_resourceType;
153
154 Aws::String m_resourceName;
155 bool m_workspaceIdHasBeenSet = false;
156 bool m_workspaceArnHasBeenSet = false;
157 bool m_resourceIdHasBeenSet = false;
158 bool m_resourceArnHasBeenSet = false;
159 bool m_resourceTypeHasBeenSet = false;
160 bool m_resourceNameHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace Connect
165} // namespace Aws
WorkspaceAssociationSearchSummary & WithResourceArn(ResourceArnT &&value)
WorkspaceAssociationSearchSummary & WithWorkspaceId(WorkspaceIdT &&value)
WorkspaceAssociationSearchSummary & WithResourceId(ResourceIdT &&value)
AWS_CONNECT_API WorkspaceAssociationSearchSummary(Aws::Utils::Json::JsonView jsonValue)
WorkspaceAssociationSearchSummary & WithResourceType(ResourceTypeT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceAssociationSearchSummary & WithResourceName(ResourceNameT &&value)
WorkspaceAssociationSearchSummary & WithWorkspaceArn(WorkspaceArnT &&value)
AWS_CONNECT_API WorkspaceAssociationSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue