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-ssm/include/aws/ssm/model/OpsItemNotification.h

97 lines
2.9 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/ssm/SSM_EXPORTS.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>A notification about the OpsItem.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemNotification">AWS
* API Reference</a></p>
*/
class AWS_SSM_API OpsItemNotification
{
public:
OpsItemNotification();
OpsItemNotification(Aws::Utils::Json::JsonView jsonValue);
OpsItemNotification& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline OpsItemNotification& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline OpsItemNotification& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of an SNS topic where notifications are sent
* when this OpsItem is edited or changed.</p>
*/
inline OpsItemNotification& WithArn(const char* value) { SetArn(value); return *this;}
private:
Aws::String m_arn;
bool m_arnHasBeenSet;
};
} // namespace Model
} // namespace SSM
} // namespace Aws