This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-dataexchange/include/aws/dataexchange/model/GetDataSetResult.h

467 lines
15 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dataexchange/DataExchange_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/dataexchange/model/AssetType.h>
#include <aws/core/utils/DateTime.h>
#include <aws/dataexchange/model/Origin.h>
#include <aws/dataexchange/model/OriginDetails.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace DataExchange
{
namespace Model
{
class AWS_DATAEXCHANGE_API GetDataSetResult
{
public:
GetDataSetResult();
GetDataSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetDataSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN for the data set.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN for the data set.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The ARN for the data set.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The ARN for the data set.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The ARN for the data set.</p>
*/
inline GetDataSetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN for the data set.</p>
*/
inline GetDataSetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN for the data set.</p>
*/
inline GetDataSetResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The type of file your data is stored in. Currently, the supported asset type
* is S3_SNAPSHOT.</p>
*/
inline const AssetType& GetAssetType() const{ return m_assetType; }
/**
* <p>The type of file your data is stored in. Currently, the supported asset type
* is S3_SNAPSHOT.</p>
*/
inline void SetAssetType(const AssetType& value) { m_assetType = value; }
/**
* <p>The type of file your data is stored in. Currently, the supported asset type
* is S3_SNAPSHOT.</p>
*/
inline void SetAssetType(AssetType&& value) { m_assetType = std::move(value); }
/**
* <p>The type of file your data is stored in. Currently, the supported asset type
* is S3_SNAPSHOT.</p>
*/
inline GetDataSetResult& WithAssetType(const AssetType& value) { SetAssetType(value); return *this;}
/**
* <p>The type of file your data is stored in. Currently, the supported asset type
* is S3_SNAPSHOT.</p>
*/
inline GetDataSetResult& WithAssetType(AssetType&& value) { SetAssetType(std::move(value)); return *this;}
/**
* <p>The date and time that the data set was created, in ISO 8601 format.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The date and time that the data set was created, in ISO 8601 format.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The date and time that the data set was created, in ISO 8601 format.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The date and time that the data set was created, in ISO 8601 format.</p>
*/
inline GetDataSetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The date and time that the data set was created, in ISO 8601 format.</p>
*/
inline GetDataSetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The description for the data set.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description for the data set.</p>
*/
inline void SetDescription(const Aws::String& value) { m_description = value; }
/**
* <p>The description for the data set.</p>
*/
inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
/**
* <p>The description for the data set.</p>
*/
inline void SetDescription(const char* value) { m_description.assign(value); }
/**
* <p>The description for the data set.</p>
*/
inline GetDataSetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description for the data set.</p>
*/
inline GetDataSetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description for the data set.</p>
*/
inline GetDataSetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The unique identifier for the data set.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The unique identifier for the data set.</p>
*/
inline void SetId(const Aws::String& value) { m_id = value; }
/**
* <p>The unique identifier for the data set.</p>
*/
inline void SetId(Aws::String&& value) { m_id = std::move(value); }
/**
* <p>The unique identifier for the data set.</p>
*/
inline void SetId(const char* value) { m_id.assign(value); }
/**
* <p>The unique identifier for the data set.</p>
*/
inline GetDataSetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The unique identifier for the data set.</p>
*/
inline GetDataSetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The unique identifier for the data set.</p>
*/
inline GetDataSetResult& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the data set.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the data set.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the data set.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the data set.</p>
*/
inline GetDataSetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline GetDataSetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline GetDataSetResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A property that defines the data set as OWNED by the account (for providers)
* or ENTITLED to the account (for subscribers).</p>
*/
inline const Origin& GetOrigin() const{ return m_origin; }
/**
* <p>A property that defines the data set as OWNED by the account (for providers)
* or ENTITLED to the account (for subscribers).</p>
*/
inline void SetOrigin(const Origin& value) { m_origin = value; }
/**
* <p>A property that defines the data set as OWNED by the account (for providers)
* or ENTITLED to the account (for subscribers).</p>
*/
inline void SetOrigin(Origin&& value) { m_origin = std::move(value); }
/**
* <p>A property that defines the data set as OWNED by the account (for providers)
* or ENTITLED to the account (for subscribers).</p>
*/
inline GetDataSetResult& WithOrigin(const Origin& value) { SetOrigin(value); return *this;}
/**
* <p>A property that defines the data set as OWNED by the account (for providers)
* or ENTITLED to the account (for subscribers).</p>
*/
inline GetDataSetResult& WithOrigin(Origin&& value) { SetOrigin(std::move(value)); return *this;}
/**
* <p>If the origin of this data set is ENTITLED, includes the details for the
* product on AWS Marketplace.</p>
*/
inline const OriginDetails& GetOriginDetails() const{ return m_originDetails; }
/**
* <p>If the origin of this data set is ENTITLED, includes the details for the
* product on AWS Marketplace.</p>
*/
inline void SetOriginDetails(const OriginDetails& value) { m_originDetails = value; }
/**
* <p>If the origin of this data set is ENTITLED, includes the details for the
* product on AWS Marketplace.</p>
*/
inline void SetOriginDetails(OriginDetails&& value) { m_originDetails = std::move(value); }
/**
* <p>If the origin of this data set is ENTITLED, includes the details for the
* product on AWS Marketplace.</p>
*/
inline GetDataSetResult& WithOriginDetails(const OriginDetails& value) { SetOriginDetails(value); return *this;}
/**
* <p>If the origin of this data set is ENTITLED, includes the details for the
* product on AWS Marketplace.</p>
*/
inline GetDataSetResult& WithOriginDetails(OriginDetails&& value) { SetOriginDetails(std::move(value)); return *this;}
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set
* being viewed. This parameter is returned when a data set owner is viewing the
* entitled copy of its owned data set.</p>
*/
inline const Aws::String& GetSourceId() const{ return m_sourceId; }
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set
* being viewed. This parameter is returned when a data set owner is viewing the
* entitled copy of its owned data set.</p>
*/
inline void SetSourceId(const Aws::String& value) { m_sourceId = value; }
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set
* being viewed. This parameter is returned when a data set owner is viewing the
* entitled copy of its owned data set.</p>
*/
inline void SetSourceId(Aws::String&& value) { m_sourceId = std::move(value); }
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set
* being viewed. This parameter is returned when a data set owner is viewing the
* entitled copy of its owned data set.</p>
*/
inline void SetSourceId(const char* value) { m_sourceId.assign(value); }
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set
* being viewed. This parameter is returned when a data set owner is viewing the
* entitled copy of its owned data set.</p>
*/
inline GetDataSetResult& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set
* being viewed. This parameter is returned when a data set owner is viewing the
* entitled copy of its owned data set.</p>
*/
inline GetDataSetResult& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set
* being viewed. This parameter is returned when a data set owner is viewing the
* entitled copy of its owned data set.</p>
*/
inline GetDataSetResult& WithSourceId(const char* value) { SetSourceId(value); return *this;}
/**
* <p>The tags for the data set.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The tags for the data set.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The tags for the data set.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The tags for the data set.</p>
*/
inline GetDataSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
*/
inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
/**
* <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
*/
inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
/**
* <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
*/
inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
/**
* <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
*/
inline GetDataSetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
/**
* <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
*/
inline GetDataSetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
private:
Aws::String m_arn;
AssetType m_assetType;
Aws::Utils::DateTime m_createdAt;
Aws::String m_description;
Aws::String m_id;
Aws::String m_name;
Origin m_origin;
OriginDetails m_originDetails;
Aws::String m_sourceId;
Aws::Map<Aws::String, Aws::String> m_tags;
Aws::Utils::DateTime m_updatedAt;
};
} // namespace Model
} // namespace DataExchange
} // namespace Aws