/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains information about one of this source account's
* links to a monitoring account.See Also:
AWS
* API Reference
The ARN of the link.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the link.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the link.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the link.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the link.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the link.
*/ inline ListLinksItem& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the link.
*/ inline ListLinksItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the link.
*/ inline ListLinksItem& WithArn(const char* value) { SetArn(value); return *this;} /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline ListLinksItem& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline ListLinksItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The random ID string that Amazon Web Services generated as part of the link * ARN.
*/ inline ListLinksItem& WithId(const char* value) { SetId(value); return *this;} /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline ListLinksItem& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline ListLinksItem& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *The label that was assigned to this link at creation, with the variables * resolved to their actual values.
*/ inline ListLinksItem& WithLabel(const char* value) { SetLabel(value); return *this;} /** *The resource types supported by this link.
*/ inline const Aws::VectorThe resource types supported by this link.
*/ inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; } /** *The resource types supported by this link.
*/ inline void SetResourceTypes(const Aws::VectorThe resource types supported by this link.
*/ inline void SetResourceTypes(Aws::VectorThe resource types supported by this link.
*/ inline ListLinksItem& WithResourceTypes(const Aws::VectorThe resource types supported by this link.
*/ inline ListLinksItem& WithResourceTypes(Aws::VectorThe resource types supported by this link.
*/ inline ListLinksItem& AddResourceTypes(const Aws::String& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; } /** *The resource types supported by this link.
*/ inline ListLinksItem& AddResourceTypes(Aws::String&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; } /** *The resource types supported by this link.
*/ inline ListLinksItem& AddResourceTypes(const char* value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; } /** *The ARN of the sink that this link is attached to.
*/ inline const Aws::String& GetSinkArn() const{ return m_sinkArn; } /** *The ARN of the sink that this link is attached to.
*/ inline bool SinkArnHasBeenSet() const { return m_sinkArnHasBeenSet; } /** *The ARN of the sink that this link is attached to.
*/ inline void SetSinkArn(const Aws::String& value) { m_sinkArnHasBeenSet = true; m_sinkArn = value; } /** *The ARN of the sink that this link is attached to.
*/ inline void SetSinkArn(Aws::String&& value) { m_sinkArnHasBeenSet = true; m_sinkArn = std::move(value); } /** *The ARN of the sink that this link is attached to.
*/ inline void SetSinkArn(const char* value) { m_sinkArnHasBeenSet = true; m_sinkArn.assign(value); } /** *The ARN of the sink that this link is attached to.
*/ inline ListLinksItem& WithSinkArn(const Aws::String& value) { SetSinkArn(value); return *this;} /** *The ARN of the sink that this link is attached to.
*/ inline ListLinksItem& WithSinkArn(Aws::String&& value) { SetSinkArn(std::move(value)); return *this;} /** *The ARN of the sink that this link is attached to.
*/ inline ListLinksItem& WithSinkArn(const char* value) { SetSinkArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; Aws::Vector