AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowAssociationSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ListFlowAssociationResourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API FlowAssociationSummary() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetResourceId() const { return m_resourceId; }
40 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
41 template <typename ResourceIdT = Aws::String>
42 void SetResourceId(ResourceIdT&& value) {
43 m_resourceIdHasBeenSet = true;
44 m_resourceId = std::forward<ResourceIdT>(value);
45 }
46 template <typename ResourceIdT = Aws::String>
47 FlowAssociationSummary& WithResourceId(ResourceIdT&& value) {
48 SetResourceId(std::forward<ResourceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFlowId() const { return m_flowId; }
58 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
59 template <typename FlowIdT = Aws::String>
60 void SetFlowId(FlowIdT&& value) {
61 m_flowIdHasBeenSet = true;
62 m_flowId = std::forward<FlowIdT>(value);
63 }
64 template <typename FlowIdT = Aws::String>
66 SetFlowId(std::forward<FlowIdT>(value));
67 return *this;
68 }
70
72
75 inline ListFlowAssociationResourceType GetResourceType() const { return m_resourceType; }
76 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
78 m_resourceTypeHasBeenSet = true;
79 m_resourceType = value;
80 }
82 SetResourceType(value);
83 return *this;
84 }
86 private:
87 Aws::String m_resourceId;
88
89 Aws::String m_flowId;
90
92 bool m_resourceIdHasBeenSet = false;
93 bool m_flowIdHasBeenSet = false;
94 bool m_resourceTypeHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Connect
99} // namespace Aws
FlowAssociationSummary & WithResourceId(ResourceIdT &&value)
FlowAssociationSummary & WithResourceType(ListFlowAssociationResourceType value)
AWS_CONNECT_API FlowAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API FlowAssociationSummary()=default
FlowAssociationSummary & WithFlowId(FlowIdT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API FlowAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ListFlowAssociationResourceType GetResourceType() const
void SetResourceType(ListFlowAssociationResourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue