AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAppVersionRequest.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ResilienceHub
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_RESILIENCEHUB_API UpdateAppVersionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppVersion"; }
33
34 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
35
36
38
49 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const { return m_additionalInfo; }
50 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
51 template<typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
52 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
53 template<typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
54 UpdateAppVersionRequest& WithAdditionalInfo(AdditionalInfoT&& value) { SetAdditionalInfo(std::forward<AdditionalInfoT>(value)); return *this;}
55 template<typename AdditionalInfoKeyT = Aws::String, typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
56 UpdateAppVersionRequest& AddAdditionalInfo(AdditionalInfoKeyT&& key, AdditionalInfoValueT&& value) {
57 m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value)); return *this;
58 }
60
62
71 inline const Aws::String& GetAppArn() const { return m_appArn; }
72 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
73 template<typename AppArnT = Aws::String>
74 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
75 template<typename AppArnT = Aws::String>
76 UpdateAppVersionRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
78 private:
79
81 bool m_additionalInfoHasBeenSet = false;
82
83 Aws::String m_appArn;
84 bool m_appArnHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ResilienceHub
89} // 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