AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListLinksItem.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 ListLinksItem() = default;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ListLinksItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template<typename IdT = Aws::String>
62 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 ListLinksItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
72 inline const Aws::String& GetLabel() const { return m_label; }
73 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
74 template<typename LabelT = Aws::String>
75 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
76 template<typename LabelT = Aws::String>
77 ListLinksItem& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
79
81
84 inline const Aws::Vector<Aws::String>& GetResourceTypes() const { return m_resourceTypes; }
85 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
86 template<typename ResourceTypesT = Aws::Vector<Aws::String>>
87 void SetResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::forward<ResourceTypesT>(value); }
88 template<typename ResourceTypesT = Aws::Vector<Aws::String>>
89 ListLinksItem& WithResourceTypes(ResourceTypesT&& value) { SetResourceTypes(std::forward<ResourceTypesT>(value)); return *this;}
90 template<typename ResourceTypesT = Aws::String>
91 ListLinksItem& AddResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.emplace_back(std::forward<ResourceTypesT>(value)); return *this; }
93
95
98 inline const Aws::String& GetSinkArn() const { return m_sinkArn; }
99 inline bool SinkArnHasBeenSet() const { return m_sinkArnHasBeenSet; }
100 template<typename SinkArnT = Aws::String>
101 void SetSinkArn(SinkArnT&& value) { m_sinkArnHasBeenSet = true; m_sinkArn = std::forward<SinkArnT>(value); }
102 template<typename SinkArnT = Aws::String>
103 ListLinksItem& WithSinkArn(SinkArnT&& value) { SetSinkArn(std::forward<SinkArnT>(value)); return *this;}
105 private:
106
107 Aws::String m_arn;
108 bool m_arnHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_label;
114 bool m_labelHasBeenSet = false;
115
116 Aws::Vector<Aws::String> m_resourceTypes;
117 bool m_resourceTypesHasBeenSet = false;
118
119 Aws::String m_sinkArn;
120 bool m_sinkArnHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace OAM
125} // 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