104 lines
3.4 KiB
C
104 lines
3.4 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/AWSVector.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace SSM
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Defines the values for a task parameter.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskParameterValueExpression">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_SSM_API MaintenanceWindowTaskParameterValueExpression
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
MaintenanceWindowTaskParameterValueExpression();
|
|||
|
|
MaintenanceWindowTaskParameterValueExpression(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
MaintenanceWindowTaskParameterValueExpression& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline MaintenanceWindowTaskParameterValueExpression& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline MaintenanceWindowTaskParameterValueExpression& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline MaintenanceWindowTaskParameterValueExpression& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline MaintenanceWindowTaskParameterValueExpression& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters
|
|||
|
|
* in length.</p>
|
|||
|
|
*/
|
|||
|
|
inline MaintenanceWindowTaskParameterValueExpression& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Vector<Aws::String> m_values;
|
|||
|
|
bool m_valuesHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SSM
|
|||
|
|
} // namespace Aws
|