AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DeleteProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitectedRequest.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace WellArchitected {
19namespace Model {
20
24 public:
25 AWS_WELLARCHITECTED_API DeleteProfileRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteProfile"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
42 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
43 template <typename ProfileArnT = Aws::String>
44 void SetProfileArn(ProfileArnT&& value) {
45 m_profileArnHasBeenSet = true;
46 m_profileArn = std::forward<ProfileArnT>(value);
47 }
48 template <typename ProfileArnT = Aws::String>
49 DeleteProfileRequest& WithProfileArn(ProfileArnT&& value) {
50 SetProfileArn(std::forward<ProfileArnT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
58 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
59 template <typename ClientRequestTokenT = Aws::String>
60 void SetClientRequestToken(ClientRequestTokenT&& value) {
61 m_clientRequestTokenHasBeenSet = true;
62 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
63 }
64 template <typename ClientRequestTokenT = Aws::String>
65 DeleteProfileRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
66 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_profileArn;
72 bool m_profileArnHasBeenSet = false;
73
74 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
75 bool m_clientRequestTokenHasBeenSet = true;
76};
77
78} // namespace Model
79} // namespace WellArchitected
80} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WELLARCHITECTED_API DeleteProfileRequest()=default
DeleteProfileRequest & WithProfileArn(ProfileArnT &&value)
DeleteProfileRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
void SetClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String