AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
52 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
55 inline UpdateAppVersionRequest& AddAdditionalInfo(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
56 inline UpdateAppVersionRequest& AddAdditionalInfo(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
57 inline UpdateAppVersionRequest& AddAdditionalInfo(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
58 inline UpdateAppVersionRequest& AddAdditionalInfo(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
59 inline UpdateAppVersionRequest& AddAdditionalInfo(const char* key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
60 inline UpdateAppVersionRequest& AddAdditionalInfo(const char* key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
62
64
73 inline const Aws::String& GetAppArn() const{ return m_appArn; }
74 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
75 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
76 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
77 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
78 inline UpdateAppVersionRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
79 inline UpdateAppVersionRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
80 inline UpdateAppVersionRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
82 private:
83
85 bool m_additionalInfoHasBeenSet = false;
86
87 Aws::String m_appArn;
88 bool m_appArnHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ResilienceHub
93} // namespace Aws
UpdateAppVersionRequest & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
UpdateAppVersionRequest & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionRequest & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionRequest & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAppVersionRequest & AddAdditionalInfo(const char *key, Aws::Vector< Aws::String > &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
UpdateAppVersionRequest & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAppVersionRequest & WithAppArn(const char *value)
UpdateAppVersionRequest & WithAppArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
UpdateAppVersionRequest & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionRequest & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAppVersionRequest & WithAppArn(Aws::String &&value)
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
std::vector< T, Aws::Allocator< T > > Vector