AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteResourceShareRequest.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace RAM
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteResourceShare"; }
35
36 AWS_RAM_API Aws::String SerializePayload() const override;
37
38 AWS_RAM_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
47 inline const Aws::String& GetResourceShareArn() const{ return m_resourceShareArn; }
48 inline bool ResourceShareArnHasBeenSet() const { return m_resourceShareArnHasBeenSet; }
49 inline void SetResourceShareArn(const Aws::String& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = value; }
50 inline void SetResourceShareArn(Aws::String&& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = std::move(value); }
51 inline void SetResourceShareArn(const char* value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn.assign(value); }
53 inline DeleteResourceShareRequest& WithResourceShareArn(Aws::String&& value) { SetResourceShareArn(std::move(value)); return *this;}
54 inline DeleteResourceShareRequest& WithResourceShareArn(const char* value) { SetResourceShareArn(value); return *this;}
56
58
70 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
71 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
72 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
73 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
74 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
75 inline DeleteResourceShareRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
76 inline DeleteResourceShareRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
77 inline DeleteResourceShareRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
79 private:
80
81 Aws::String m_resourceShareArn;
82 bool m_resourceShareArnHasBeenSet = false;
83
84 Aws::String m_clientToken;
85 bool m_clientTokenHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace RAM
90} // namespace Aws
AWS_RAM_API Aws::String SerializePayload() const override
DeleteResourceShareRequest & WithResourceShareArn(const Aws::String &value)
DeleteResourceShareRequest & WithClientToken(Aws::String &&value)
DeleteResourceShareRequest & WithResourceShareArn(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteResourceShareRequest & WithClientToken(const Aws::String &value)
DeleteResourceShareRequest & WithResourceShareArn(Aws::String &&value)
AWS_RAM_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteResourceShareRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String