139 lines
4.7 KiB
C
139 lines
4.7 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/synthetics/Synthetics_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/synthetics/model/Canary.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Synthetics
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_SYNTHETICS_API DescribeCanariesResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DescribeCanariesResult();
|
|||
|
|
DescribeCanariesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DescribeCanariesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns an array. Each item in the array contains the full information about
|
|||
|
|
* one canary.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Canary>& GetCanaries() const{ return m_canaries; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns an array. Each item in the array contains the full information about
|
|||
|
|
* one canary.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCanaries(const Aws::Vector<Canary>& value) { m_canaries = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns an array. Each item in the array contains the full information about
|
|||
|
|
* one canary.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCanaries(Aws::Vector<Canary>&& value) { m_canaries = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns an array. Each item in the array contains the full information about
|
|||
|
|
* one canary.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeCanariesResult& WithCanaries(const Aws::Vector<Canary>& value) { SetCanaries(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns an array. Each item in the array contains the full information about
|
|||
|
|
* one canary.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeCanariesResult& WithCanaries(Aws::Vector<Canary>&& value) { SetCanaries(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns an array. Each item in the array contains the full information about
|
|||
|
|
* one canary.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeCanariesResult& AddCanaries(const Canary& value) { m_canaries.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns an array. Each item in the array contains the full information about
|
|||
|
|
* one canary.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeCanariesResult& AddCanaries(Canary&& value) { m_canaries.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A token that indicates that there is more data available. You can use this
|
|||
|
|
* token in a subsequent <code>DescribeCanaries</code> operation to retrieve the
|
|||
|
|
* next set of results.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A token that indicates that there is more data available. You can use this
|
|||
|
|
* token in a subsequent <code>DescribeCanaries</code> operation to retrieve the
|
|||
|
|
* next set of results.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A token that indicates that there is more data available. You can use this
|
|||
|
|
* token in a subsequent <code>DescribeCanaries</code> operation to retrieve the
|
|||
|
|
* next set of results.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A token that indicates that there is more data available. You can use this
|
|||
|
|
* token in a subsequent <code>DescribeCanaries</code> operation to retrieve the
|
|||
|
|
* next set of results.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A token that indicates that there is more data available. You can use this
|
|||
|
|
* token in a subsequent <code>DescribeCanaries</code> operation to retrieve the
|
|||
|
|
* next set of results.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeCanariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A token that indicates that there is more data available. You can use this
|
|||
|
|
* token in a subsequent <code>DescribeCanaries</code> operation to retrieve the
|
|||
|
|
* next set of results.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeCanariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A token that indicates that there is more data available. You can use this
|
|||
|
|
* token in a subsequent <code>DescribeCanaries</code> operation to retrieve the
|
|||
|
|
* next set of results.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeCanariesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Vector<Canary> m_canaries;
|
|||
|
|
|
|||
|
|
Aws::String m_nextToken;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Synthetics
|
|||
|
|
} // namespace Aws
|