136 lines
4.9 KiB
C++
136 lines
4.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/ram/RAM_EXPORTS.h>
|
|
#include <aws/ram/RAMRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace RAM
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_RAM_API RejectResourceShareInvitationRequest : public RAMRequest
|
|
{
|
|
public:
|
|
RejectResourceShareInvitationRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "RejectResourceShareInvitation"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline const Aws::String& GetResourceShareInvitationArn() const{ return m_resourceShareInvitationArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline bool ResourceShareInvitationArnHasBeenSet() const { return m_resourceShareInvitationArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline void SetResourceShareInvitationArn(const Aws::String& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline void SetResourceShareInvitationArn(Aws::String&& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline void SetResourceShareInvitationArn(const char* value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline RejectResourceShareInvitationRequest& WithResourceShareInvitationArn(const Aws::String& value) { SetResourceShareInvitationArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline RejectResourceShareInvitationRequest& WithResourceShareInvitationArn(Aws::String&& value) { SetResourceShareInvitationArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
*/
|
|
inline RejectResourceShareInvitationRequest& WithResourceShareInvitationArn(const char* value) { SetResourceShareInvitationArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline const Aws::String& GetClientToken() const{ return m_clientToken; }
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline RejectResourceShareInvitationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline RejectResourceShareInvitationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
* idempotency of the request.</p>
|
|
*/
|
|
inline RejectResourceShareInvitationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_resourceShareInvitationArn;
|
|
bool m_resourceShareInvitationArnHasBeenSet;
|
|
|
|
Aws::String m_clientToken;
|
|
bool m_clientTokenHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace RAM
|
|
} // namespace Aws
|