AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateAppVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehub/ResilienceHubRequest.h>
11#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ResilienceHub {
17namespace Model {
18
22 public:
23 AWS_RESILIENCEHUB_API UpdateAppVersionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppVersion"; }
30
31 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
32
34
45 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const { return m_additionalInfo; }
46 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
47 template <typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
48 void SetAdditionalInfo(AdditionalInfoT&& value) {
49 m_additionalInfoHasBeenSet = true;
50 m_additionalInfo = std::forward<AdditionalInfoT>(value);
51 }
52 template <typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
53 UpdateAppVersionRequest& WithAdditionalInfo(AdditionalInfoT&& value) {
54 SetAdditionalInfo(std::forward<AdditionalInfoT>(value));
55 return *this;
56 }
57 template <typename AdditionalInfoKeyT = Aws::String, typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
58 UpdateAppVersionRequest& AddAdditionalInfo(AdditionalInfoKeyT&& key, AdditionalInfoValueT&& value) {
59 m_additionalInfoHasBeenSet = true;
60 m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
61 return *this;
62 }
64
66
75 inline const Aws::String& GetAppArn() const { return m_appArn; }
76 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
77 template <typename AppArnT = Aws::String>
78 void SetAppArn(AppArnT&& value) {
79 m_appArnHasBeenSet = true;
80 m_appArn = std::forward<AppArnT>(value);
81 }
82 template <typename AppArnT = Aws::String>
84 SetAppArn(std::forward<AppArnT>(value));
85 return *this;
86 }
88 private:
90
91 Aws::String m_appArn;
92 bool m_additionalInfoHasBeenSet = false;
93 bool m_appArnHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace ResilienceHub
98} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateAppVersionRequest & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API UpdateAppVersionRequest()=default
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
UpdateAppVersionRequest & WithAdditionalInfo(AdditionalInfoT &&value)
UpdateAppVersionRequest & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String