AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
47 inline const Aws::String& GetLabel() const{ return m_label; }
48 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
49 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
50 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
51 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
52 inline ListAttachedLinksItem& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
53 inline ListAttachedLinksItem& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
54 inline ListAttachedLinksItem& WithLabel(const char* value) { SetLabel(value); return *this;}
56
58
61 inline const Aws::String& GetLinkArn() const{ return m_linkArn; }
62 inline bool LinkArnHasBeenSet() const { return m_linkArnHasBeenSet; }
63 inline void SetLinkArn(const Aws::String& value) { m_linkArnHasBeenSet = true; m_linkArn = value; }
64 inline void SetLinkArn(Aws::String&& value) { m_linkArnHasBeenSet = true; m_linkArn = std::move(value); }
65 inline void SetLinkArn(const char* value) { m_linkArnHasBeenSet = true; m_linkArn.assign(value); }
66 inline ListAttachedLinksItem& WithLinkArn(const Aws::String& value) { SetLinkArn(value); return *this;}
67 inline ListAttachedLinksItem& WithLinkArn(Aws::String&& value) { SetLinkArn(std::move(value)); return *this;}
68 inline ListAttachedLinksItem& WithLinkArn(const char* value) { SetLinkArn(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
76 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
77 inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
78 inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); }
80 inline ListAttachedLinksItem& WithResourceTypes(Aws::Vector<Aws::String>&& value) { SetResourceTypes(std::move(value)); return *this;}
81 inline ListAttachedLinksItem& AddResourceTypes(const Aws::String& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
82 inline ListAttachedLinksItem& AddResourceTypes(Aws::String&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; }
83 inline ListAttachedLinksItem& AddResourceTypes(const char* value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
85 private:
86
87 Aws::String m_label;
88 bool m_labelHasBeenSet = false;
89
90 Aws::String m_linkArn;
91 bool m_linkArnHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_resourceTypes;
94 bool m_resourceTypesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace OAM
99} // 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