AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListAttachedLinksItem.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 OAM
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OAM_API ListAttachedLinksItem() = default;
40
41
43
47 inline const Aws::String& GetLabel() const { return m_label; }
48 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
49 template<typename LabelT = Aws::String>
50 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
51 template<typename LabelT = Aws::String>
52 ListAttachedLinksItem& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
54
56
59 inline const Aws::String& GetLinkArn() const { return m_linkArn; }
60 inline bool LinkArnHasBeenSet() const { return m_linkArnHasBeenSet; }
61 template<typename LinkArnT = Aws::String>
62 void SetLinkArn(LinkArnT&& value) { m_linkArnHasBeenSet = true; m_linkArn = std::forward<LinkArnT>(value); }
63 template<typename LinkArnT = Aws::String>
64 ListAttachedLinksItem& WithLinkArn(LinkArnT&& value) { SetLinkArn(std::forward<LinkArnT>(value)); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetResourceTypes() const { return m_resourceTypes; }
72 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
73 template<typename ResourceTypesT = Aws::Vector<Aws::String>>
74 void SetResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::forward<ResourceTypesT>(value); }
75 template<typename ResourceTypesT = Aws::Vector<Aws::String>>
76 ListAttachedLinksItem& WithResourceTypes(ResourceTypesT&& value) { SetResourceTypes(std::forward<ResourceTypesT>(value)); return *this;}
77 template<typename ResourceTypesT = Aws::String>
78 ListAttachedLinksItem& AddResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.emplace_back(std::forward<ResourceTypesT>(value)); return *this; }
80 private:
81
82 Aws::String m_label;
83 bool m_labelHasBeenSet = false;
84
85 Aws::String m_linkArn;
86 bool m_linkArnHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_resourceTypes;
89 bool m_resourceTypesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace OAM
94} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue