/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This structure contains information about one group.See Also:
* AWS
* API Reference
The unique ID of the group.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID of the group.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID of the group.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID of the group.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID of the group.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID of the group.
*/ inline Group& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID of the group.
*/ inline Group& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID of the group.
*/ inline Group& WithId(const char* value) { SetId(value); return *this;} /** *The name of the group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the group.
*/ inline Group& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the group.
*/ inline Group& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the group.
*/ inline Group& WithName(const char* value) { SetName(value); return *this;} /** *The ARN of the group.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the group.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the group.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the group.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the group.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the group.
*/ inline Group& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the group.
*/ inline Group& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the group.
*/ inline Group& WithArn(const char* value) { SetArn(value); return *this;} /** *The list of key-value pairs that are associated with the canary.
*/ inline const Aws::MapThe list of key-value pairs that are associated with the canary.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of key-value pairs that are associated with the canary.
*/ inline void SetTags(const Aws::MapThe list of key-value pairs that are associated with the canary.
*/ inline void SetTags(Aws::MapThe list of key-value pairs that are associated with the canary.
*/ inline Group& WithTags(const Aws::MapThe list of key-value pairs that are associated with the canary.
*/ inline Group& WithTags(Aws::MapThe list of key-value pairs that are associated with the canary.
*/ inline Group& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The list of key-value pairs that are associated with the canary.
*/ inline Group& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The list of key-value pairs that are associated with the canary.
*/ inline Group& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The list of key-value pairs that are associated with the canary.
*/ inline Group& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The list of key-value pairs that are associated with the canary.
*/ inline Group& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The list of key-value pairs that are associated with the canary.
*/ inline Group& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The list of key-value pairs that are associated with the canary.
*/ inline Group& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The date and time that the group was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The date and time that the group was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The date and time that the group was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The date and time that the group was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The date and time that the group was created.
*/ inline Group& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The date and time that the group was created.
*/ inline Group& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The date and time that the group was most recently updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The date and time that the group was most recently updated.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The date and time that the group was most recently updated.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The date and time that the group was most recently updated.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The date and time that the group was most recently updated.
*/ inline Group& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The date and time that the group was most recently updated.
*/ inline Group& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Map