/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ChimeSDKIdentity
{
namespace Model
{
/**
* The details of an AppInstance
, an instance of an Amazon Chime
* SDK messaging application.
See Also:
AWS
* API Reference
*/
class AppInstance
{
public:
AWS_CHIMESDKIDENTITY_API AppInstance();
AWS_CHIMESDKIDENTITY_API AppInstance(Aws::Utils::Json::JsonView jsonValue);
AWS_CHIMESDKIDENTITY_API AppInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CHIMESDKIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The ARN of the messaging instance.
*/
inline const Aws::String& GetAppInstanceArn() const{ return m_appInstanceArn; }
/**
* The ARN of the messaging instance.
*/
inline bool AppInstanceArnHasBeenSet() const { return m_appInstanceArnHasBeenSet; }
/**
* The ARN of the messaging instance.
*/
inline void SetAppInstanceArn(const Aws::String& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = value; }
/**
* The ARN of the messaging instance.
*/
inline void SetAppInstanceArn(Aws::String&& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = std::move(value); }
/**
* The ARN of the messaging instance.
*/
inline void SetAppInstanceArn(const char* value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn.assign(value); }
/**
* The ARN of the messaging instance.
*/
inline AppInstance& WithAppInstanceArn(const Aws::String& value) { SetAppInstanceArn(value); return *this;}
/**
* The ARN of the messaging instance.
*/
inline AppInstance& WithAppInstanceArn(Aws::String&& value) { SetAppInstanceArn(std::move(value)); return *this;}
/**
* The ARN of the messaging instance.
*/
inline AppInstance& WithAppInstanceArn(const char* value) { SetAppInstanceArn(value); return *this;}
/**
* The name of an AppInstance
.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of an AppInstance
.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of an AppInstance
.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of an AppInstance
.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of an AppInstance
.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of an AppInstance
.
*/
inline AppInstance& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of an AppInstance
.
*/
inline AppInstance& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of an AppInstance
.
*/
inline AppInstance& WithName(const char* value) { SetName(value); return *this;}
/**
* The time at which an AppInstance
was created. In epoch
* milliseconds.
*/
inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
/**
* The time at which an AppInstance
was created. In epoch
* milliseconds.
*/
inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
/**
* The time at which an AppInstance
was created. In epoch
* milliseconds.
*/
inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
/**
* The time at which an AppInstance
was created. In epoch
* milliseconds.
*/
inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
/**
* The time at which an AppInstance
was created. In epoch
* milliseconds.
*/
inline AppInstance& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
/**
* The time at which an AppInstance
was created. In epoch
* milliseconds.
*/
inline AppInstance& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
/**
* The time an AppInstance
was last updated. In epoch
* milliseconds.
*/
inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
/**
* The time an AppInstance
was last updated. In epoch
* milliseconds.
*/
inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
/**
* The time an AppInstance
was last updated. In epoch
* milliseconds.
*/
inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
/**
* The time an AppInstance
was last updated. In epoch
* milliseconds.
*/
inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
/**
* The time an AppInstance
was last updated. In epoch
* milliseconds.
*/
inline AppInstance& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;}
/**
* The time an AppInstance
was last updated. In epoch
* milliseconds.
*/
inline AppInstance& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
/**
* The metadata of an AppInstance
.
*/
inline const Aws::String& GetMetadata() const{ return m_metadata; }
/**
* The metadata of an AppInstance
.
*/
inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
/**
* The metadata of an AppInstance
.
*/
inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; }
/**
* The metadata of an AppInstance
.
*/
inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
/**
* The metadata of an AppInstance
.
*/
inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); }
/**
* The metadata of an AppInstance
.
*/
inline AppInstance& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
/**
* The metadata of an AppInstance
.
*/
inline AppInstance& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
/**
* The metadata of an AppInstance
.
*/
inline AppInstance& WithMetadata(const char* value) { SetMetadata(value); return *this;}
private:
Aws::String m_appInstanceArn;
bool m_appInstanceArnHasBeenSet = false;
Aws::String m_name;
bool m_nameHasBeenSet = false;
Aws::Utils::DateTime m_createdTimestamp;
bool m_createdTimestampHasBeenSet = false;
Aws::Utils::DateTime m_lastUpdatedTimestamp;
bool m_lastUpdatedTimestampHasBeenSet = false;
Aws::String m_metadata;
bool m_metadataHasBeenSet = false;
};
} // namespace Model
} // namespace ChimeSDKIdentity
} // namespace Aws