/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Properties that describe the Amazon Web Services principal that created the
* BlockPublicAccessConfiguration
using the
* PutBlockPublicAccessConfiguration
action as well as the date and
* time that the configuration was created. Each time a configuration for block
* public access is updated, Amazon EMR updates this metadata.See
* Also:
AWS
* API Reference
The date and time that the configuration was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time that the configuration was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time that the configuration was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time that the configuration was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time that the configuration was created.
*/ inline BlockPublicAccessConfigurationMetadata& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time that the configuration was created.
*/ inline BlockPublicAccessConfigurationMetadata& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline const Aws::String& GetCreatedByArn() const{ return m_createdByArn; } /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline bool CreatedByArnHasBeenSet() const { return m_createdByArnHasBeenSet; } /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline void SetCreatedByArn(const Aws::String& value) { m_createdByArnHasBeenSet = true; m_createdByArn = value; } /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline void SetCreatedByArn(Aws::String&& value) { m_createdByArnHasBeenSet = true; m_createdByArn = std::move(value); } /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline void SetCreatedByArn(const char* value) { m_createdByArnHasBeenSet = true; m_createdByArn.assign(value); } /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(const Aws::String& value) { SetCreatedByArn(value); return *this;} /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(Aws::String&& value) { SetCreatedByArn(std::move(value)); return *this;} /** *The Amazon Resource Name that created or last modified the configuration.
*/ inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(const char* value) { SetCreatedByArn(value); return *this;} private: Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::String m_createdByArn; bool m_createdByArnHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws