AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublishAppVersionRequest.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 PublishAppVersionRequest();
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 "PublishAppVersion"; }
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 PublishAppVersionRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
51 inline PublishAppVersionRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
52 inline PublishAppVersionRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
54
56
59 inline const Aws::String& GetVersionName() const{ return m_versionName; }
60 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
61 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
62 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
63 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
64 inline PublishAppVersionRequest& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
65 inline PublishAppVersionRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
66 inline PublishAppVersionRequest& WithVersionName(const char* value) { SetVersionName(value); return *this;}
68 private:
69
70 Aws::String m_appArn;
71 bool m_appArnHasBeenSet = false;
72
73 Aws::String m_versionName;
74 bool m_versionNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ResilienceHub
79} // namespace Aws
PublishAppVersionRequest & WithAppArn(const char *value)
PublishAppVersionRequest & WithVersionName(Aws::String &&value)
PublishAppVersionRequest & WithVersionName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
PublishAppVersionRequest & WithVersionName(const char *value)
PublishAppVersionRequest & WithAppArn(const Aws::String &value)
PublishAppVersionRequest & WithAppArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String