AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteProfileShareRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WELLARCHITECTED_API DeleteProfileShareRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteProfileShare"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
44 inline const Aws::String& GetShareId() const{ return m_shareId; }
45 inline bool ShareIdHasBeenSet() const { return m_shareIdHasBeenSet; }
46 inline void SetShareId(const Aws::String& value) { m_shareIdHasBeenSet = true; m_shareId = value; }
47 inline void SetShareId(Aws::String&& value) { m_shareIdHasBeenSet = true; m_shareId = std::move(value); }
48 inline void SetShareId(const char* value) { m_shareIdHasBeenSet = true; m_shareId.assign(value); }
49 inline DeleteProfileShareRequest& WithShareId(const Aws::String& value) { SetShareId(value); return *this;}
50 inline DeleteProfileShareRequest& WithShareId(Aws::String&& value) { SetShareId(std::move(value)); return *this;}
51 inline DeleteProfileShareRequest& WithShareId(const char* value) { SetShareId(value); return *this;}
53
55
58 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
59 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
60 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
61 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
62 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
63 inline DeleteProfileShareRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
64 inline DeleteProfileShareRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
65 inline DeleteProfileShareRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
67
69
70 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
71 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
72 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
73 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
74 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
76 inline DeleteProfileShareRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
77 inline DeleteProfileShareRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
79 private:
80
81 Aws::String m_shareId;
82 bool m_shareIdHasBeenSet = false;
83
84 Aws::String m_profileArn;
85 bool m_profileArnHasBeenSet = false;
86
87 Aws::String m_clientRequestToken;
88 bool m_clientRequestTokenHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace WellArchitected
93} // namespace Aws
DeleteProfileShareRequest & WithClientRequestToken(const Aws::String &value)
DeleteProfileShareRequest & WithShareId(const char *value)
DeleteProfileShareRequest & WithProfileArn(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
DeleteProfileShareRequest & WithShareId(const Aws::String &value)
DeleteProfileShareRequest & WithClientRequestToken(const char *value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteProfileShareRequest & WithProfileArn(const Aws::String &value)
DeleteProfileShareRequest & WithProfileArn(const char *value)
DeleteProfileShareRequest & WithClientRequestToken(Aws::String &&value)
DeleteProfileShareRequest & WithShareId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String