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-states/include/aws/states/model/CreateStateMachineResult.h

107 lines
3.3 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/states/SFN_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SFN
{
namespace Model
{
class AWS_SFN_API CreateStateMachineResult
{
public:
CreateStateMachineResult();
CreateStateMachineResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateStateMachineResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
*/
inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
/**
* <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
*/
inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
/**
* <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
*/
inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
*/
inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
*/
inline CreateStateMachineResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
*/
inline CreateStateMachineResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
*/
inline CreateStateMachineResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
/**
* <p>The date the state machine is created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
/**
* <p>The date the state machine is created.</p>
*/
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
/**
* <p>The date the state machine is created.</p>
*/
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
/**
* <p>The date the state machine is created.</p>
*/
inline CreateStateMachineResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
/**
* <p>The date the state machine is created.</p>
*/
inline CreateStateMachineResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
private:
Aws::String m_stateMachineArn;
Aws::Utils::DateTime m_creationDate;
};
} // namespace Model
} // namespace SFN
} // namespace Aws