AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DescribeAppRequest.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 DescribeAppRequest() = 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 "DescribeApp"; }
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>
49 DescribeAppRequest& WithAppArn(AppArnT&& value) {
50 SetAppArn(std::forward<AppArnT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_appArn;
56 bool m_appArnHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ResilienceHub
61} // namespace Aws
AWS_RESILIENCEHUB_API DescribeAppRequest()=default
DescribeAppRequest & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String