AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAppVersionAppComponentRequest.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.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 ResilienceHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_RESILIENCEHUB_API DeleteAppVersionAppComponentRequest() = 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 "DeleteAppVersionAppComponent"; }
32
33 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
34
35
37
46 inline const Aws::String& GetAppArn() const { return m_appArn; }
47 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
48 template<typename AppArnT = Aws::String>
49 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
50 template<typename AppArnT = Aws::String>
51 DeleteAppVersionAppComponentRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
53
55
60 inline const Aws::String& GetClientToken() const { return m_clientToken; }
61 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
62 template<typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
64 template<typename ClientTokenT = Aws::String>
65 DeleteAppVersionAppComponentRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
67
69
72 inline const Aws::String& GetId() const { return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 template<typename IdT = Aws::String>
75 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
76 template<typename IdT = Aws::String>
77 DeleteAppVersionAppComponentRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
79 private:
80
81 Aws::String m_appArn;
82 bool m_appArnHasBeenSet = false;
83
85 bool m_clientTokenHasBeenSet = true;
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ResilienceHub
93} // namespace Aws
DeleteAppVersionAppComponentRequest & WithClientToken(ClientTokenT &&value)
DeleteAppVersionAppComponentRequest & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUB_API DeleteAppVersionAppComponentRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String