125 lines
3.7 KiB
C++
125 lines
3.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/ssm/SSM_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/ssm/model/OpsItemSummary.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SSM
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_SSM_API DescribeOpsItemsResult
|
|
{
|
|
public:
|
|
DescribeOpsItemsResult();
|
|
DescribeOpsItemsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
DescribeOpsItemsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline DescribeOpsItemsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline DescribeOpsItemsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline DescribeOpsItemsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A list of OpsItems.</p>
|
|
*/
|
|
inline const Aws::Vector<OpsItemSummary>& GetOpsItemSummaries() const{ return m_opsItemSummaries; }
|
|
|
|
/**
|
|
* <p>A list of OpsItems.</p>
|
|
*/
|
|
inline void SetOpsItemSummaries(const Aws::Vector<OpsItemSummary>& value) { m_opsItemSummaries = value; }
|
|
|
|
/**
|
|
* <p>A list of OpsItems.</p>
|
|
*/
|
|
inline void SetOpsItemSummaries(Aws::Vector<OpsItemSummary>&& value) { m_opsItemSummaries = std::move(value); }
|
|
|
|
/**
|
|
* <p>A list of OpsItems.</p>
|
|
*/
|
|
inline DescribeOpsItemsResult& WithOpsItemSummaries(const Aws::Vector<OpsItemSummary>& value) { SetOpsItemSummaries(value); return *this;}
|
|
|
|
/**
|
|
* <p>A list of OpsItems.</p>
|
|
*/
|
|
inline DescribeOpsItemsResult& WithOpsItemSummaries(Aws::Vector<OpsItemSummary>&& value) { SetOpsItemSummaries(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A list of OpsItems.</p>
|
|
*/
|
|
inline DescribeOpsItemsResult& AddOpsItemSummaries(const OpsItemSummary& value) { m_opsItemSummaries.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A list of OpsItems.</p>
|
|
*/
|
|
inline DescribeOpsItemsResult& AddOpsItemSummaries(OpsItemSummary&& value) { m_opsItemSummaries.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_nextToken;
|
|
|
|
Aws::Vector<OpsItemSummary> m_opsItemSummaries;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SSM
|
|
} // namespace Aws
|