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/TemplateSummary.h

282 lines
8.5 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 <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
/**
* <p>The template summary.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TemplateSummary">AWS
* API Reference</a></p>
*/
class AWS_QUICKSIGHT_API TemplateSummary
{
public:
TemplateSummary();
TemplateSummary(Aws::Utils::Json::JsonView jsonValue);
TemplateSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>A summary of a template.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>A summary of a template.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>A summary of a template.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>A summary of a template.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>A summary of a template.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>A summary of a template.</p>
*/
inline TemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>A summary of a template.</p>
*/
inline TemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>A summary of a template.</p>
*/
inline TemplateSummary& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline const Aws::String& GetTemplateId() const{ return m_templateId; }
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline TemplateSummary& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline TemplateSummary& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
/**
* <p>The ID of the template. This ID is unique per AWS Region for each AWS
* account.</p>
*/
inline TemplateSummary& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
/**
* <p>A display name for the template.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>A display name for the template.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>A display name for the template.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>A display name for the template.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>A display name for the template.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>A display name for the template.</p>
*/
inline TemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>A display name for the template.</p>
*/
inline TemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>A display name for the template.</p>
*/
inline TemplateSummary& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A structure containing a list of version numbers for the template
* summary.</p>
*/
inline long long GetLatestVersionNumber() const{ return m_latestVersionNumber; }
/**
* <p>A structure containing a list of version numbers for the template
* summary.</p>
*/
inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
/**
* <p>A structure containing a list of version numbers for the template
* summary.</p>
*/
inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
/**
* <p>A structure containing a list of version numbers for the template
* summary.</p>
*/
inline TemplateSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;}
/**
* <p>The last time that this template was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
/**
* <p>The last time that this template was created.</p>
*/
inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
/**
* <p>The last time that this template was created.</p>
*/
inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
/**
* <p>The last time that this template was created.</p>
*/
inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
/**
* <p>The last time that this template was created.</p>
*/
inline TemplateSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
/**
* <p>The last time that this template was created.</p>
*/
inline TemplateSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
/**
* <p>The last time that this template was updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
/**
* <p>The last time that this template was updated.</p>
*/
inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
/**
* <p>The last time that this template was updated.</p>
*/
inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
/**
* <p>The last time that this template was updated.</p>
*/
inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
/**
* <p>The last time that this template was updated.</p>
*/
inline TemplateSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
/**
* <p>The last time that this template was updated.</p>
*/
inline TemplateSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
private:
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_templateId;
bool m_templateIdHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
long long m_latestVersionNumber;
bool m_latestVersionNumberHasBeenSet;
Aws::Utils::DateTime m_createdTime;
bool m_createdTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdatedTime;
bool m_lastUpdatedTimeHasBeenSet;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws