AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FlowAssociationSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ListFlowAssociationResourceType.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 Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API FlowAssociationSummary() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetResourceId() const { return m_resourceId; }
46 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
47 template<typename ResourceIdT = Aws::String>
48 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
49 template<typename ResourceIdT = Aws::String>
50 FlowAssociationSummary& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
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) { m_flowIdHasBeenSet = true; m_flowId = std::forward<FlowIdT>(value); }
61 template<typename FlowIdT = Aws::String>
62 FlowAssociationSummary& WithFlowId(FlowIdT&& value) { SetFlowId(std::forward<FlowIdT>(value)); return *this;}
64
66
69 inline ListFlowAssociationResourceType GetResourceType() const { return m_resourceType; }
70 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
71 inline void SetResourceType(ListFlowAssociationResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
74 private:
75
76 Aws::String m_resourceId;
77 bool m_resourceIdHasBeenSet = false;
78
79 Aws::String m_flowId;
80 bool m_flowIdHasBeenSet = false;
81
83 bool m_resourceTypeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Connect
88} // 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