AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ListLinksItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ListLinksItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ListLinksItem& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline ListLinksItem& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline ListLinksItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline ListLinksItem& WithId(const char* value) { SetId(value); return *this;}
70
72
76 inline const Aws::String& GetLabel() const{ return m_label; }
77 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
78 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
79 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
80 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
81 inline ListLinksItem& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
82 inline ListLinksItem& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
83 inline ListLinksItem& WithLabel(const char* value) { SetLabel(value); return *this;}
85
87
90 inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
91 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
92 inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
93 inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); }
94 inline ListLinksItem& WithResourceTypes(const Aws::Vector<Aws::String>& value) { SetResourceTypes(value); return *this;}
95 inline ListLinksItem& WithResourceTypes(Aws::Vector<Aws::String>&& value) { SetResourceTypes(std::move(value)); return *this;}
96 inline ListLinksItem& AddResourceTypes(const Aws::String& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
97 inline ListLinksItem& AddResourceTypes(Aws::String&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; }
98 inline ListLinksItem& AddResourceTypes(const char* value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
100
102
105 inline const Aws::String& GetSinkArn() const{ return m_sinkArn; }
106 inline bool SinkArnHasBeenSet() const { return m_sinkArnHasBeenSet; }
107 inline void SetSinkArn(const Aws::String& value) { m_sinkArnHasBeenSet = true; m_sinkArn = value; }
108 inline void SetSinkArn(Aws::String&& value) { m_sinkArnHasBeenSet = true; m_sinkArn = std::move(value); }
109 inline void SetSinkArn(const char* value) { m_sinkArnHasBeenSet = true; m_sinkArn.assign(value); }
110 inline ListLinksItem& WithSinkArn(const Aws::String& value) { SetSinkArn(value); return *this;}
111 inline ListLinksItem& WithSinkArn(Aws::String&& value) { SetSinkArn(std::move(value)); return *this;}
112 inline ListLinksItem& WithSinkArn(const char* value) { SetSinkArn(value); return *this;}
114 private:
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_label;
123 bool m_labelHasBeenSet = false;
124
125 Aws::Vector<Aws::String> m_resourceTypes;
126 bool m_resourceTypesHasBeenSet = false;
127
128 Aws::String m_sinkArn;
129 bool m_sinkArnHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace OAM
134} // 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