AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteProfileRequest.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 DeleteProfileRequest() = 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 "DeleteProfile"; }
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
46 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
47 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
48 template<typename ProfileArnT = Aws::String>
49 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
50 template<typename ProfileArnT = Aws::String>
51 DeleteProfileRequest& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
53
55
56 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
57 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
58 template<typename ClientRequestTokenT = Aws::String>
59 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
60 template<typename ClientRequestTokenT = Aws::String>
61 DeleteProfileRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
63 private:
64
65 Aws::String m_profileArn;
66 bool m_profileArnHasBeenSet = false;
67
68 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
69 bool m_clientRequestTokenHasBeenSet = true;
70 };
71
72} // namespace Model
73} // namespace WellArchitected
74} // 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