AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 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 DescribeAppVersionResourceRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
59 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
60 template<typename AppVersionT = Aws::String>
61 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
62 template<typename AppVersionT = Aws::String>
63 DescribeAppVersionResourceRequest& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
71 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
72 template<typename AwsAccountIdT = Aws::String>
73 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
74 template<typename AwsAccountIdT = Aws::String>
75 DescribeAppVersionResourceRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
77
79
82 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
83 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
84 template<typename AwsRegionT = Aws::String>
85 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
86 template<typename AwsRegionT = Aws::String>
87 DescribeAppVersionResourceRequest& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
89
91
94 inline const LogicalResourceId& GetLogicalResourceId() const { return m_logicalResourceId; }
95 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
96 template<typename LogicalResourceIdT = LogicalResourceId>
97 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
98 template<typename LogicalResourceIdT = LogicalResourceId>
99 DescribeAppVersionResourceRequest& WithLogicalResourceId(LogicalResourceIdT&& value) { SetLogicalResourceId(std::forward<LogicalResourceIdT>(value)); return *this;}
101
103
106 inline const Aws::String& GetPhysicalResourceId() const { return m_physicalResourceId; }
107 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
108 template<typename PhysicalResourceIdT = Aws::String>
109 void SetPhysicalResourceId(PhysicalResourceIdT&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::forward<PhysicalResourceIdT>(value); }
110 template<typename PhysicalResourceIdT = Aws::String>
111 DescribeAppVersionResourceRequest& WithPhysicalResourceId(PhysicalResourceIdT&& value) { SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value)); return *this;}
113
115
118 inline const Aws::String& GetResourceName() const { return m_resourceName; }
119 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
120 template<typename ResourceNameT = Aws::String>
121 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
122 template<typename ResourceNameT = Aws::String>
123 DescribeAppVersionResourceRequest& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
125 private:
126
127 Aws::String m_appArn;
128 bool m_appArnHasBeenSet = false;
129
130 Aws::String m_appVersion;
131 bool m_appVersionHasBeenSet = false;
132
133 Aws::String m_awsAccountId;
134 bool m_awsAccountIdHasBeenSet = false;
135
136 Aws::String m_awsRegion;
137 bool m_awsRegionHasBeenSet = false;
138
139 LogicalResourceId m_logicalResourceId;
140 bool m_logicalResourceIdHasBeenSet = false;
141
142 Aws::String m_physicalResourceId;
143 bool m_physicalResourceIdHasBeenSet = false;
144
145 Aws::String m_resourceName;
146 bool m_resourceNameHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace ResilienceHub
151} // namespace Aws
DescribeAppVersionResourceRequest & WithAwsAccountId(AwsAccountIdT &&value)
DescribeAppVersionResourceRequest & WithLogicalResourceId(LogicalResourceIdT &&value)
DescribeAppVersionResourceRequest & WithAwsRegion(AwsRegionT &&value)
DescribeAppVersionResourceRequest & WithPhysicalResourceId(PhysicalResourceIdT &&value)
DescribeAppVersionResourceRequest & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API DescribeAppVersionResourceRequest()=default
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DescribeAppVersionResourceRequest & WithAppVersion(AppVersionT &&value)
DescribeAppVersionResourceRequest & WithResourceName(ResourceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String