/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Lists a summary of the properties of a context. A context provides a logical
* grouping of other entities.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the context.
*/ inline const Aws::String& GetContextArn() const{ return m_contextArn; } /** *The Amazon Resource Name (ARN) of the context.
*/ inline bool ContextArnHasBeenSet() const { return m_contextArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the context.
*/ inline void SetContextArn(const Aws::String& value) { m_contextArnHasBeenSet = true; m_contextArn = value; } /** *The Amazon Resource Name (ARN) of the context.
*/ inline void SetContextArn(Aws::String&& value) { m_contextArnHasBeenSet = true; m_contextArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the context.
*/ inline void SetContextArn(const char* value) { m_contextArnHasBeenSet = true; m_contextArn.assign(value); } /** *The Amazon Resource Name (ARN) of the context.
*/ inline ContextSummary& WithContextArn(const Aws::String& value) { SetContextArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the context.
*/ inline ContextSummary& WithContextArn(Aws::String&& value) { SetContextArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the context.
*/ inline ContextSummary& WithContextArn(const char* value) { SetContextArn(value); return *this;} /** *The name of the context.
*/ inline const Aws::String& GetContextName() const{ return m_contextName; } /** *The name of the context.
*/ inline bool ContextNameHasBeenSet() const { return m_contextNameHasBeenSet; } /** *The name of the context.
*/ inline void SetContextName(const Aws::String& value) { m_contextNameHasBeenSet = true; m_contextName = value; } /** *The name of the context.
*/ inline void SetContextName(Aws::String&& value) { m_contextNameHasBeenSet = true; m_contextName = std::move(value); } /** *The name of the context.
*/ inline void SetContextName(const char* value) { m_contextNameHasBeenSet = true; m_contextName.assign(value); } /** *The name of the context.
*/ inline ContextSummary& WithContextName(const Aws::String& value) { SetContextName(value); return *this;} /** *The name of the context.
*/ inline ContextSummary& WithContextName(Aws::String&& value) { SetContextName(std::move(value)); return *this;} /** *The name of the context.
*/ inline ContextSummary& WithContextName(const char* value) { SetContextName(value); return *this;} /** *The source of the context.
*/ inline const ContextSource& GetSource() const{ return m_source; } /** *The source of the context.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *The source of the context.
*/ inline void SetSource(const ContextSource& value) { m_sourceHasBeenSet = true; m_source = value; } /** *The source of the context.
*/ inline void SetSource(ContextSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *The source of the context.
*/ inline ContextSummary& WithSource(const ContextSource& value) { SetSource(value); return *this;} /** *The source of the context.
*/ inline ContextSummary& WithSource(ContextSource&& value) { SetSource(std::move(value)); return *this;} /** *The type of the context.
*/ inline const Aws::String& GetContextType() const{ return m_contextType; } /** *The type of the context.
*/ inline bool ContextTypeHasBeenSet() const { return m_contextTypeHasBeenSet; } /** *The type of the context.
*/ inline void SetContextType(const Aws::String& value) { m_contextTypeHasBeenSet = true; m_contextType = value; } /** *The type of the context.
*/ inline void SetContextType(Aws::String&& value) { m_contextTypeHasBeenSet = true; m_contextType = std::move(value); } /** *The type of the context.
*/ inline void SetContextType(const char* value) { m_contextTypeHasBeenSet = true; m_contextType.assign(value); } /** *The type of the context.
*/ inline ContextSummary& WithContextType(const Aws::String& value) { SetContextType(value); return *this;} /** *The type of the context.
*/ inline ContextSummary& WithContextType(Aws::String&& value) { SetContextType(std::move(value)); return *this;} /** *The type of the context.
*/ inline ContextSummary& WithContextType(const char* value) { SetContextType(value); return *this;} /** *When the context was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the context was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the context was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the context was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the context was created.
*/ inline ContextSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the context was created.
*/ inline ContextSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *When the context was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the context was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the context was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the context was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the context was last modified.
*/ inline ContextSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *When the context was last modified.
*/ inline ContextSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_contextArn; bool m_contextArnHasBeenSet = false; Aws::String m_contextName; bool m_contextNameHasBeenSet = false; ContextSource m_source; bool m_sourceHasBeenSet = false; Aws::String m_contextType; bool m_contextTypeHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws