AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ShareIdT = Aws::String>
47 void SetShareId(ShareIdT&& value) { m_shareIdHasBeenSet = true; m_shareId = std::forward<ShareIdT>(value); }
48 template<typename ShareIdT = Aws::String>
49 DeleteProfileShareRequest& WithShareId(ShareIdT&& value) { SetShareId(std::forward<ShareIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
57 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
58 template<typename ProfileArnT = Aws::String>
59 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
60 template<typename ProfileArnT = Aws::String>
61 DeleteProfileShareRequest& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
63
65
66 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
67 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
68 template<typename ClientRequestTokenT = Aws::String>
69 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
70 template<typename ClientRequestTokenT = Aws::String>
71 DeleteProfileShareRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
73 private:
74
75 Aws::String m_shareId;
76 bool m_shareIdHasBeenSet = false;
77
78 Aws::String m_profileArn;
79 bool m_profileArnHasBeenSet = false;
80
81 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
82 bool m_clientRequestTokenHasBeenSet = true;
83 };
84
85} // namespace Model
86} // namespace WellArchitected
87} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
DeleteProfileShareRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteProfileShareRequest & WithProfileArn(ProfileArnT &&value)
DeleteProfileShareRequest & WithShareId(ShareIdT &&value)
AWS_WELLARCHITECTED_API DeleteProfileShareRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String