AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAppRequest.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 DeleteAppRequest();
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 "DeleteApp"; }
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 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
49 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
50 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
51 inline DeleteAppRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
52 inline DeleteAppRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
53 inline DeleteAppRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
55
57
62 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
63 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
64 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
65 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
66 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
67 inline DeleteAppRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
68 inline DeleteAppRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
69 inline DeleteAppRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
71
73
76 inline bool GetForceDelete() const{ return m_forceDelete; }
77 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
78 inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; }
79 inline DeleteAppRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;}
81 private:
82
83 Aws::String m_appArn;
84 bool m_appArnHasBeenSet = false;
85
86 Aws::String m_clientToken;
87 bool m_clientTokenHasBeenSet = false;
88
89 bool m_forceDelete;
90 bool m_forceDeleteHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ResilienceHub
95} // namespace Aws
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DeleteAppRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
DeleteAppRequest & WithAppArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteAppRequest & WithAppArn(Aws::String &&value)
DeleteAppRequest & WithClientToken(const char *value)
DeleteAppRequest & WithClientToken(Aws::String &&value)
void SetAppArn(const Aws::String &value)
DeleteAppRequest & WithForceDelete(bool value)
DeleteAppRequest & WithAppArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String