AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAppVersionResourceRequest.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/LogicalResourceId.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ResilienceHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_RESILIENCEHUB_API DescribeAppVersionResourceRequest();
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 "DescribeAppVersionResource"; }
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 DescribeAppVersionResourceRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
52 inline DescribeAppVersionResourceRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
53 inline DescribeAppVersionResourceRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
55
57
60 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
61 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
62 inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
63 inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); }
64 inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); }
65 inline DescribeAppVersionResourceRequest& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
66 inline DescribeAppVersionResourceRequest& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
67 inline DescribeAppVersionResourceRequest& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
69
71
74 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
75 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
76 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
77 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
78 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
80 inline DescribeAppVersionResourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
81 inline DescribeAppVersionResourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
83
85
88 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
89 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
90 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
91 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
92 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
93 inline DescribeAppVersionResourceRequest& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
94 inline DescribeAppVersionResourceRequest& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
95 inline DescribeAppVersionResourceRequest& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
97
99
102 inline const LogicalResourceId& GetLogicalResourceId() const{ return m_logicalResourceId; }
103 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
104 inline void SetLogicalResourceId(const LogicalResourceId& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
105 inline void SetLogicalResourceId(LogicalResourceId&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
109
111
114 inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
115 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
116 inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
117 inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
118 inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
121 inline DescribeAppVersionResourceRequest& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
123
125
128 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
129 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
130 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
131 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
132 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
134 inline DescribeAppVersionResourceRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
135 inline DescribeAppVersionResourceRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
137 private:
138
139 Aws::String m_appArn;
140 bool m_appArnHasBeenSet = false;
141
142 Aws::String m_appVersion;
143 bool m_appVersionHasBeenSet = false;
144
145 Aws::String m_awsAccountId;
146 bool m_awsAccountIdHasBeenSet = false;
147
148 Aws::String m_awsRegion;
149 bool m_awsRegionHasBeenSet = false;
150
151 LogicalResourceId m_logicalResourceId;
152 bool m_logicalResourceIdHasBeenSet = false;
153
154 Aws::String m_physicalResourceId;
155 bool m_physicalResourceIdHasBeenSet = false;
156
157 Aws::String m_resourceName;
158 bool m_resourceNameHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace ResilienceHub
163} // namespace Aws
DescribeAppVersionResourceRequest & WithLogicalResourceId(const LogicalResourceId &value)
DescribeAppVersionResourceRequest & WithAwsAccountId(const Aws::String &value)
DescribeAppVersionResourceRequest & WithAppVersion(const char *value)
DescribeAppVersionResourceRequest & WithAwsRegion(const Aws::String &value)
DescribeAppVersionResourceRequest & WithAwsAccountId(const char *value)
DescribeAppVersionResourceRequest & WithPhysicalResourceId(Aws::String &&value)
DescribeAppVersionResourceRequest & WithResourceName(const char *value)
DescribeAppVersionResourceRequest & WithAwsRegion(const char *value)
DescribeAppVersionResourceRequest & WithResourceName(Aws::String &&value)
DescribeAppVersionResourceRequest & WithAppArn(const Aws::String &value)
DescribeAppVersionResourceRequest & WithAppArn(Aws::String &&value)
DescribeAppVersionResourceRequest & WithPhysicalResourceId(const Aws::String &value)
DescribeAppVersionResourceRequest & WithResourceName(const Aws::String &value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DescribeAppVersionResourceRequest & WithAwsRegion(Aws::String &&value)
DescribeAppVersionResourceRequest & WithAppArn(const char *value)
DescribeAppVersionResourceRequest & WithAwsAccountId(Aws::String &&value)
DescribeAppVersionResourceRequest & WithPhysicalResourceId(const char *value)
DescribeAppVersionResourceRequest & WithAppVersion(Aws::String &&value)
DescribeAppVersionResourceRequest & WithLogicalResourceId(LogicalResourceId &&value)
DescribeAppVersionResourceRequest & WithAppVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String