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-dynamodb/include/aws/dynamodb/model/DescribeGlobalTableSettingsResult.h

118 lines
3.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dynamodb/DynamoDB_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/dynamodb/model/ReplicaSettingsDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace DynamoDB
{
namespace Model
{
class AWS_DYNAMODB_API DescribeGlobalTableSettingsResult
{
public:
DescribeGlobalTableSettingsResult();
DescribeGlobalTableSettingsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeGlobalTableSettingsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the global table.</p>
*/
inline const Aws::String& GetGlobalTableName() const{ return m_globalTableName; }
/**
* <p>The name of the global table.</p>
*/
inline void SetGlobalTableName(const Aws::String& value) { m_globalTableName = value; }
/**
* <p>The name of the global table.</p>
*/
inline void SetGlobalTableName(Aws::String&& value) { m_globalTableName = std::move(value); }
/**
* <p>The name of the global table.</p>
*/
inline void SetGlobalTableName(const char* value) { m_globalTableName.assign(value); }
/**
* <p>The name of the global table.</p>
*/
inline DescribeGlobalTableSettingsResult& WithGlobalTableName(const Aws::String& value) { SetGlobalTableName(value); return *this;}
/**
* <p>The name of the global table.</p>
*/
inline DescribeGlobalTableSettingsResult& WithGlobalTableName(Aws::String&& value) { SetGlobalTableName(std::move(value)); return *this;}
/**
* <p>The name of the global table.</p>
*/
inline DescribeGlobalTableSettingsResult& WithGlobalTableName(const char* value) { SetGlobalTableName(value); return *this;}
/**
* <p>The Region-specific settings for the global table.</p>
*/
inline const Aws::Vector<ReplicaSettingsDescription>& GetReplicaSettings() const{ return m_replicaSettings; }
/**
* <p>The Region-specific settings for the global table.</p>
*/
inline void SetReplicaSettings(const Aws::Vector<ReplicaSettingsDescription>& value) { m_replicaSettings = value; }
/**
* <p>The Region-specific settings for the global table.</p>
*/
inline void SetReplicaSettings(Aws::Vector<ReplicaSettingsDescription>&& value) { m_replicaSettings = std::move(value); }
/**
* <p>The Region-specific settings for the global table.</p>
*/
inline DescribeGlobalTableSettingsResult& WithReplicaSettings(const Aws::Vector<ReplicaSettingsDescription>& value) { SetReplicaSettings(value); return *this;}
/**
* <p>The Region-specific settings for the global table.</p>
*/
inline DescribeGlobalTableSettingsResult& WithReplicaSettings(Aws::Vector<ReplicaSettingsDescription>&& value) { SetReplicaSettings(std::move(value)); return *this;}
/**
* <p>The Region-specific settings for the global table.</p>
*/
inline DescribeGlobalTableSettingsResult& AddReplicaSettings(const ReplicaSettingsDescription& value) { m_replicaSettings.push_back(value); return *this; }
/**
* <p>The Region-specific settings for the global table.</p>
*/
inline DescribeGlobalTableSettingsResult& AddReplicaSettings(ReplicaSettingsDescription&& value) { m_replicaSettings.push_back(std::move(value)); return *this; }
private:
Aws::String m_globalTableName;
Aws::Vector<ReplicaSettingsDescription> m_replicaSettings;
};
} // namespace Model
} // namespace DynamoDB
} // namespace Aws