133 lines
3.6 KiB
C
133 lines
3.6 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace ResourceGroups
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique identifiers for a resource group.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GroupIdentifier">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_RESOURCEGROUPS_API GroupIdentifier
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GroupIdentifier();
|
|||
|
|
GroupIdentifier(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
GroupIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetGroupName() const{ return m_groupName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline GroupIdentifier& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline GroupIdentifier& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline GroupIdentifier& WithGroupName(const char* value) { SetGroupName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetGroupArn() const{ return m_groupArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline GroupIdentifier& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline GroupIdentifier& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the resource group.</p>
|
|||
|
|
*/
|
|||
|
|
inline GroupIdentifier& WithGroupArn(const char* value) { SetGroupArn(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_groupName;
|
|||
|
|
bool m_groupNameHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_groupArn;
|
|||
|
|
bool m_groupArnHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace ResourceGroups
|
|||
|
|
} // namespace Aws
|