AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAppInputSourceRequest.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 <aws/resiliencehub/model/EksSourceClusterNamespace.h>
11#include <aws/resiliencehub/model/TerraformSource.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace ResilienceHub
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_RESILIENCEHUB_API DeleteAppInputSourceRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteAppInputSource"; }
34
35 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
36
37
39
48 inline const Aws::String& GetAppArn() const{ return m_appArn; }
49 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
50 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
51 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
52 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
53 inline DeleteAppInputSourceRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
54 inline DeleteAppInputSourceRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
55 inline DeleteAppInputSourceRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
57
59
64 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
65 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
66 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
67 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
68 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
69 inline DeleteAppInputSourceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
70 inline DeleteAppInputSourceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
71 inline DeleteAppInputSourceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
73
75
79 inline const EksSourceClusterNamespace& GetEksSourceClusterNamespace() const{ return m_eksSourceClusterNamespace; }
80 inline bool EksSourceClusterNamespaceHasBeenSet() const { return m_eksSourceClusterNamespaceHasBeenSet; }
81 inline void SetEksSourceClusterNamespace(const EksSourceClusterNamespace& value) { m_eksSourceClusterNamespaceHasBeenSet = true; m_eksSourceClusterNamespace = value; }
82 inline void SetEksSourceClusterNamespace(EksSourceClusterNamespace&& value) { m_eksSourceClusterNamespaceHasBeenSet = true; m_eksSourceClusterNamespace = std::move(value); }
86
88
95 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
96 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
97 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
98 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
99 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
100 inline DeleteAppInputSourceRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
101 inline DeleteAppInputSourceRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
102 inline DeleteAppInputSourceRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
104
106
110 inline const TerraformSource& GetTerraformSource() const{ return m_terraformSource; }
111 inline bool TerraformSourceHasBeenSet() const { return m_terraformSourceHasBeenSet; }
112 inline void SetTerraformSource(const TerraformSource& value) { m_terraformSourceHasBeenSet = true; m_terraformSource = value; }
113 inline void SetTerraformSource(TerraformSource&& value) { m_terraformSourceHasBeenSet = true; m_terraformSource = std::move(value); }
115 inline DeleteAppInputSourceRequest& WithTerraformSource(TerraformSource&& value) { SetTerraformSource(std::move(value)); return *this;}
117 private:
118
119 Aws::String m_appArn;
120 bool m_appArnHasBeenSet = false;
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 EksSourceClusterNamespace m_eksSourceClusterNamespace;
126 bool m_eksSourceClusterNamespaceHasBeenSet = false;
127
128 Aws::String m_sourceArn;
129 bool m_sourceArnHasBeenSet = false;
130
131 TerraformSource m_terraformSource;
132 bool m_terraformSourceHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace ResilienceHub
137} // namespace Aws
void SetEksSourceClusterNamespace(EksSourceClusterNamespace &&value)
DeleteAppInputSourceRequest & WithClientToken(const Aws::String &value)
DeleteAppInputSourceRequest & WithClientToken(Aws::String &&value)
DeleteAppInputSourceRequest & WithSourceArn(const Aws::String &value)
const EksSourceClusterNamespace & GetEksSourceClusterNamespace() const
DeleteAppInputSourceRequest & WithSourceArn(Aws::String &&value)
DeleteAppInputSourceRequest & WithAppArn(Aws::String &&value)
DeleteAppInputSourceRequest & WithClientToken(const char *value)
void SetEksSourceClusterNamespace(const EksSourceClusterNamespace &value)
DeleteAppInputSourceRequest & WithSourceArn(const char *value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DeleteAppInputSourceRequest & WithEksSourceClusterNamespace(EksSourceClusterNamespace &&value)
DeleteAppInputSourceRequest & WithTerraformSource(TerraformSource &&value)
DeleteAppInputSourceRequest & WithAppArn(const Aws::String &value)
DeleteAppInputSourceRequest & WithEksSourceClusterNamespace(const EksSourceClusterNamespace &value)
DeleteAppInputSourceRequest & WithTerraformSource(const TerraformSource &value)
DeleteAppInputSourceRequest & WithAppArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String