397 lines
12 KiB
C++
397 lines
12 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace MediaPackageVod
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* A MediaPackage VOD Asset resource.<p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/AssetShallow">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_MEDIAPACKAGEVOD_API AssetShallow
|
|
{
|
|
public:
|
|
AssetShallow();
|
|
AssetShallow(Aws::Utils::Json::JsonView jsonValue);
|
|
AssetShallow& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline AssetShallow& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline AssetShallow& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The ARN of the Asset.
|
|
*/
|
|
inline AssetShallow& WithArn(const char* value) { SetArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline AssetShallow& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline AssetShallow& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The time the Asset was initially submitted for Ingest.
|
|
*/
|
|
inline AssetShallow& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline const Aws::String& GetId() const{ return m_id; }
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline AssetShallow& WithId(const Aws::String& value) { SetId(value); return *this;}
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline AssetShallow& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The unique identifier for the Asset.
|
|
*/
|
|
inline AssetShallow& WithId(const char* value) { SetId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline const Aws::String& GetPackagingGroupId() const{ return m_packagingGroupId; }
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline bool PackagingGroupIdHasBeenSet() const { return m_packagingGroupIdHasBeenSet; }
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline void SetPackagingGroupId(const Aws::String& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = value; }
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline void SetPackagingGroupId(Aws::String&& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = std::move(value); }
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline void SetPackagingGroupId(const char* value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId.assign(value); }
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline AssetShallow& WithPackagingGroupId(const Aws::String& value) { SetPackagingGroupId(value); return *this;}
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline AssetShallow& WithPackagingGroupId(Aws::String&& value) { SetPackagingGroupId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The ID of the PackagingGroup for the Asset.
|
|
*/
|
|
inline AssetShallow& WithPackagingGroupId(const char* value) { SetPackagingGroupId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline AssetShallow& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline AssetShallow& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The resource ID to include in SPEKE key requests.
|
|
*/
|
|
inline AssetShallow& WithResourceId(const char* value) { SetResourceId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline AssetShallow& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline AssetShallow& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* ARN of the source object in S3.
|
|
*/
|
|
inline AssetShallow& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline const Aws::String& GetSourceRoleArn() const{ return m_sourceRoleArn; }
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline bool SourceRoleArnHasBeenSet() const { return m_sourceRoleArnHasBeenSet; }
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline void SetSourceRoleArn(const Aws::String& value) { m_sourceRoleArnHasBeenSet = true; m_sourceRoleArn = value; }
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline void SetSourceRoleArn(Aws::String&& value) { m_sourceRoleArnHasBeenSet = true; m_sourceRoleArn = std::move(value); }
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline void SetSourceRoleArn(const char* value) { m_sourceRoleArnHasBeenSet = true; m_sourceRoleArn.assign(value); }
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline AssetShallow& WithSourceRoleArn(const Aws::String& value) { SetSourceRoleArn(value); return *this;}
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline AssetShallow& WithSourceRoleArn(Aws::String&& value) { SetSourceRoleArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The IAM role ARN used to access the source S3 bucket.
|
|
*/
|
|
inline AssetShallow& WithSourceRoleArn(const char* value) { SetSourceRoleArn(value); return *this;}
|
|
|
|
|
|
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|
|
|
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|
|
|
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|
|
|
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|
|
|
|
|
inline AssetShallow& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|
|
|
|
|
inline AssetShallow& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
|
|
inline AssetShallow& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
|
|
inline AssetShallow& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
|
|
inline AssetShallow& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
|
|
inline AssetShallow& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
|
|
inline AssetShallow& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
|
|
inline AssetShallow& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
|
|
inline AssetShallow& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_arn;
|
|
bool m_arnHasBeenSet;
|
|
|
|
Aws::String m_createdAt;
|
|
bool m_createdAtHasBeenSet;
|
|
|
|
Aws::String m_id;
|
|
bool m_idHasBeenSet;
|
|
|
|
Aws::String m_packagingGroupId;
|
|
bool m_packagingGroupIdHasBeenSet;
|
|
|
|
Aws::String m_resourceId;
|
|
bool m_resourceIdHasBeenSet;
|
|
|
|
Aws::String m_sourceArn;
|
|
bool m_sourceArnHasBeenSet;
|
|
|
|
Aws::String m_sourceRoleArn;
|
|
bool m_sourceRoleArnHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|
bool m_tagsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MediaPackageVod
|
|
} // namespace Aws
|