AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeAppVersionAppComponentRequest.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 <utility>
11
12namespace Aws
13{
14namespace ResilienceHub
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_RESILIENCEHUB_API DescribeAppVersionAppComponentRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeAppVersionAppComponent"; }
31
32 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
33
34
36
45 inline const Aws::String& GetAppArn() const { return m_appArn; }
46 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
47 template<typename AppArnT = Aws::String>
48 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
49 template<typename AppArnT = Aws::String>
50 DescribeAppVersionAppComponentRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
58 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
59 template<typename AppVersionT = Aws::String>
60 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
61 template<typename AppVersionT = Aws::String>
62 DescribeAppVersionAppComponentRequest& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetId() const { return m_id; }
70 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
71 template<typename IdT = Aws::String>
72 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
73 template<typename IdT = Aws::String>
74 DescribeAppVersionAppComponentRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
76 private:
77
78 Aws::String m_appArn;
79 bool m_appArnHasBeenSet = false;
80
81 Aws::String m_appVersion;
82 bool m_appVersionHasBeenSet = false;
83
84 Aws::String m_id;
85 bool m_idHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ResilienceHub
90} // namespace Aws
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUB_API DescribeAppVersionAppComponentRequest()=default
DescribeAppVersionAppComponentRequest & WithAppVersion(AppVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String