/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { class DescribeChangeSetHooksResult { public: AWS_CLOUDFORMATION_API DescribeChangeSetHooksResult(); AWS_CLOUDFORMATION_API DescribeChangeSetHooksResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFORMATION_API DescribeChangeSetHooksResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The change set identifier (stack ID).

*/ inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; } /** *

The change set identifier (stack ID).

*/ inline void SetChangeSetId(const Aws::String& value) { m_changeSetId = value; } /** *

The change set identifier (stack ID).

*/ inline void SetChangeSetId(Aws::String&& value) { m_changeSetId = std::move(value); } /** *

The change set identifier (stack ID).

*/ inline void SetChangeSetId(const char* value) { m_changeSetId.assign(value); } /** *

The change set identifier (stack ID).

*/ inline DescribeChangeSetHooksResult& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;} /** *

The change set identifier (stack ID).

*/ inline DescribeChangeSetHooksResult& WithChangeSetId(Aws::String&& value) { SetChangeSetId(std::move(value)); return *this;} /** *

The change set identifier (stack ID).

*/ inline DescribeChangeSetHooksResult& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;} /** *

The change set name.

*/ inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; } /** *

The change set name.

*/ inline void SetChangeSetName(const Aws::String& value) { m_changeSetName = value; } /** *

The change set name.

*/ inline void SetChangeSetName(Aws::String&& value) { m_changeSetName = std::move(value); } /** *

The change set name.

*/ inline void SetChangeSetName(const char* value) { m_changeSetName.assign(value); } /** *

The change set name.

*/ inline DescribeChangeSetHooksResult& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;} /** *

The change set name.

*/ inline DescribeChangeSetHooksResult& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;} /** *

The change set name.

*/ inline DescribeChangeSetHooksResult& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;} /** *

List of hook objects.

*/ inline const Aws::Vector& GetHooks() const{ return m_hooks; } /** *

List of hook objects.

*/ inline void SetHooks(const Aws::Vector& value) { m_hooks = value; } /** *

List of hook objects.

*/ inline void SetHooks(Aws::Vector&& value) { m_hooks = std::move(value); } /** *

List of hook objects.

*/ inline DescribeChangeSetHooksResult& WithHooks(const Aws::Vector& value) { SetHooks(value); return *this;} /** *

List of hook objects.

*/ inline DescribeChangeSetHooksResult& WithHooks(Aws::Vector&& value) { SetHooks(std::move(value)); return *this;} /** *

List of hook objects.

*/ inline DescribeChangeSetHooksResult& AddHooks(const ChangeSetHook& value) { m_hooks.push_back(value); return *this; } /** *

List of hook objects.

*/ inline DescribeChangeSetHooksResult& AddHooks(ChangeSetHook&& value) { m_hooks.push_back(std::move(value)); return *this; } /** *

Provides the status of the change set hook.

*/ inline const ChangeSetHooksStatus& GetStatus() const{ return m_status; } /** *

Provides the status of the change set hook.

*/ inline void SetStatus(const ChangeSetHooksStatus& value) { m_status = value; } /** *

Provides the status of the change set hook.

*/ inline void SetStatus(ChangeSetHooksStatus&& value) { m_status = std::move(value); } /** *

Provides the status of the change set hook.

*/ inline DescribeChangeSetHooksResult& WithStatus(const ChangeSetHooksStatus& value) { SetStatus(value); return *this;} /** *

Provides the status of the change set hook.

*/ inline DescribeChangeSetHooksResult& WithStatus(ChangeSetHooksStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Pagination token, null or empty if no more results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Pagination token, null or empty if no more results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

Pagination token, null or empty if no more results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

Pagination token, null or empty if no more results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

Pagination token, null or empty if no more results.

*/ inline DescribeChangeSetHooksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Pagination token, null or empty if no more results.

*/ inline DescribeChangeSetHooksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Pagination token, null or empty if no more results.

*/ inline DescribeChangeSetHooksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The stack identifier (stack ID).

*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *

The stack identifier (stack ID).

*/ inline void SetStackId(const Aws::String& value) { m_stackId = value; } /** *

The stack identifier (stack ID).

*/ inline void SetStackId(Aws::String&& value) { m_stackId = std::move(value); } /** *

The stack identifier (stack ID).

*/ inline void SetStackId(const char* value) { m_stackId.assign(value); } /** *

The stack identifier (stack ID).

*/ inline DescribeChangeSetHooksResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *

The stack identifier (stack ID).

*/ inline DescribeChangeSetHooksResult& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *

The stack identifier (stack ID).

*/ inline DescribeChangeSetHooksResult& WithStackId(const char* value) { SetStackId(value); return *this;} /** *

The stack name.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

The stack name.

*/ inline void SetStackName(const Aws::String& value) { m_stackName = value; } /** *

The stack name.

*/ inline void SetStackName(Aws::String&& value) { m_stackName = std::move(value); } /** *

The stack name.

*/ inline void SetStackName(const char* value) { m_stackName.assign(value); } /** *

The stack name.

*/ inline DescribeChangeSetHooksResult& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

The stack name.

*/ inline DescribeChangeSetHooksResult& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

The stack name.

*/ inline DescribeChangeSetHooksResult& WithStackName(const char* value) { SetStackName(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeChangeSetHooksResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeChangeSetHooksResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_changeSetId; Aws::String m_changeSetName; Aws::Vector m_hooks; ChangeSetHooksStatus m_status; Aws::String m_nextToken; Aws::String m_stackId; Aws::String m_stackName; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws