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-quicksight/include/aws/quicksight/model/ThemeVersion.h

360 lines
12 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/quicksight/model/ThemeConfiguration.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/quicksight/model/ResourceStatus.h>
#include <aws/quicksight/model/ThemeError.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
/**
* <p>A version of a theme.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ThemeVersion">AWS
* API Reference</a></p>
*/
class AWS_QUICKSIGHT_API ThemeVersion
{
public:
ThemeVersion();
ThemeVersion(Aws::Utils::Json::JsonView jsonValue);
ThemeVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The version number of the theme.</p>
*/
inline long long GetVersionNumber() const{ return m_versionNumber; }
/**
* <p>The version number of the theme.</p>
*/
inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
/**
* <p>The version number of the theme.</p>
*/
inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
/**
* <p>The version number of the theme.</p>
*/
inline ThemeVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline ThemeVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline ThemeVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
inline ThemeVersion& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The description of the theme.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the theme.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the theme.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the theme.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the theme.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the theme.</p>
*/
inline ThemeVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the theme.</p>
*/
inline ThemeVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the theme.</p>
*/
inline ThemeVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; }
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; }
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); }
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); }
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline ThemeVersion& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;}
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline ThemeVersion& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;}
/**
* <p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits
* from. All themes initially inherit from a default QuickSight theme.</p>
*/
inline ThemeVersion& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;}
/**
* <p>The date and time that this theme version was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
/**
* <p>The date and time that this theme version was created.</p>
*/
inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
/**
* <p>The date and time that this theme version was created.</p>
*/
inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
/**
* <p>The date and time that this theme version was created.</p>
*/
inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
/**
* <p>The date and time that this theme version was created.</p>
*/
inline ThemeVersion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
/**
* <p>The date and time that this theme version was created.</p>
*/
inline ThemeVersion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
/**
* <p>The theme configuration, which contains all the theme display properties.</p>
*/
inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; }
/**
* <p>The theme configuration, which contains all the theme display properties.</p>
*/
inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
/**
* <p>The theme configuration, which contains all the theme display properties.</p>
*/
inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
/**
* <p>The theme configuration, which contains all the theme display properties.</p>
*/
inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
/**
* <p>The theme configuration, which contains all the theme display properties.</p>
*/
inline ThemeVersion& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;}
/**
* <p>The theme configuration, which contains all the theme display properties.</p>
*/
inline ThemeVersion& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
/**
* <p>Errors associated with the theme.</p>
*/
inline const Aws::Vector<ThemeError>& GetErrors() const{ return m_errors; }
/**
* <p>Errors associated with the theme.</p>
*/
inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
/**
* <p>Errors associated with the theme.</p>
*/
inline void SetErrors(const Aws::Vector<ThemeError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
/**
* <p>Errors associated with the theme.</p>
*/
inline void SetErrors(Aws::Vector<ThemeError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
/**
* <p>Errors associated with the theme.</p>
*/
inline ThemeVersion& WithErrors(const Aws::Vector<ThemeError>& value) { SetErrors(value); return *this;}
/**
* <p>Errors associated with the theme.</p>
*/
inline ThemeVersion& WithErrors(Aws::Vector<ThemeError>&& value) { SetErrors(std::move(value)); return *this;}
/**
* <p>Errors associated with the theme.</p>
*/
inline ThemeVersion& AddErrors(const ThemeError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
/**
* <p>Errors associated with the theme.</p>
*/
inline ThemeVersion& AddErrors(ThemeError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
/**
* <p>The status of the theme version.</p>
*/
inline const ResourceStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the theme version.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the theme version.</p>
*/
inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the theme version.</p>
*/
inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the theme version.</p>
*/
inline ThemeVersion& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the theme version.</p>
*/
inline ThemeVersion& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
private:
long long m_versionNumber;
bool m_versionNumberHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_baseThemeId;
bool m_baseThemeIdHasBeenSet;
Aws::Utils::DateTime m_createdTime;
bool m_createdTimeHasBeenSet;
ThemeConfiguration m_configuration;
bool m_configurationHasBeenSet;
Aws::Vector<ThemeError> m_errors;
bool m_errorsHasBeenSet;
ResourceStatus m_status;
bool m_statusHasBeenSet;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws