AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeAppVersionTemplateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ResilienceHub {
15namespace Model {
16
20 public:
21 AWS_RESILIENCEHUB_API DescribeAppVersionTemplateRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeAppVersionTemplate"; }
28
29 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
30
32
41 inline const Aws::String& GetAppArn() const { return m_appArn; }
42 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
43 template <typename AppArnT = Aws::String>
44 void SetAppArn(AppArnT&& value) {
45 m_appArnHasBeenSet = true;
46 m_appArn = std::forward<AppArnT>(value);
47 }
48 template <typename AppArnT = Aws::String>
50 SetAppArn(std::forward<AppArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
60 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
61 template <typename AppVersionT = Aws::String>
62 void SetAppVersion(AppVersionT&& value) {
63 m_appVersionHasBeenSet = true;
64 m_appVersion = std::forward<AppVersionT>(value);
65 }
66 template <typename AppVersionT = Aws::String>
68 SetAppVersion(std::forward<AppVersionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_appArn;
74 bool m_appArnHasBeenSet = false;
75
76 Aws::String m_appVersion;
77 bool m_appVersionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ResilienceHub
82} // namespace Aws
DescribeAppVersionTemplateRequest & WithAppVersion(AppVersionT &&value)
DescribeAppVersionTemplateRequest & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUB_API DescribeAppVersionTemplateRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String