AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
48 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
49 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
50 inline DescribeAppVersionAppComponentRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
51 inline DescribeAppVersionAppComponentRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
52 inline DescribeAppVersionAppComponentRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
54
56
59 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
60 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
61 inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
62 inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); }
63 inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); }
65 inline DescribeAppVersionAppComponentRequest& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
66 inline DescribeAppVersionAppComponentRequest& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
68
70
73 inline const Aws::String& GetId() const{ return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
76 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
77 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
78 inline DescribeAppVersionAppComponentRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
79 inline DescribeAppVersionAppComponentRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 inline DescribeAppVersionAppComponentRequest& WithId(const char* value) { SetId(value); return *this;}
82 private:
83
84 Aws::String m_appArn;
85 bool m_appArnHasBeenSet = false;
86
87 Aws::String m_appVersion;
88 bool m_appVersionHasBeenSet = false;
89
90 Aws::String m_id;
91 bool m_idHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ResilienceHub
96} // namespace Aws
DescribeAppVersionAppComponentRequest & WithAppVersion(const char *value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DescribeAppVersionAppComponentRequest & WithAppArn(const Aws::String &value)
DescribeAppVersionAppComponentRequest & WithAppVersion(Aws::String &&value)
DescribeAppVersionAppComponentRequest & WithId(Aws::String &&value)
DescribeAppVersionAppComponentRequest & WithAppArn(const char *value)
DescribeAppVersionAppComponentRequest & WithAppArn(Aws::String &&value)
DescribeAppVersionAppComponentRequest & WithAppVersion(const Aws::String &value)
DescribeAppVersionAppComponentRequest & WithId(const Aws::String &value)
DescribeAppVersionAppComponentRequest & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String