AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAppVersionAppComponentRequest.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 UpdateAppVersionAppComponentRequest();
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 "UpdateAppVersionAppComponent"; }
33
34 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const{ return m_additionalInfo; }
43 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
44 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
45 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
48 inline UpdateAppVersionAppComponentRequest& AddAdditionalInfo(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
49 inline UpdateAppVersionAppComponentRequest& AddAdditionalInfo(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
50 inline UpdateAppVersionAppComponentRequest& AddAdditionalInfo(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
51 inline UpdateAppVersionAppComponentRequest& AddAdditionalInfo(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
52 inline UpdateAppVersionAppComponentRequest& AddAdditionalInfo(const char* key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
53 inline UpdateAppVersionAppComponentRequest& AddAdditionalInfo(const char* key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
55
57
66 inline const Aws::String& GetAppArn() const{ return m_appArn; }
67 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
68 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
69 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
70 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
71 inline UpdateAppVersionAppComponentRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
72 inline UpdateAppVersionAppComponentRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
73 inline UpdateAppVersionAppComponentRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
75
77
80 inline const Aws::String& GetId() const{ return m_id; }
81 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
82 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
83 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
84 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
85 inline UpdateAppVersionAppComponentRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
86 inline UpdateAppVersionAppComponentRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
87 inline UpdateAppVersionAppComponentRequest& WithId(const char* value) { SetId(value); return *this;}
89
91
94 inline const Aws::String& GetName() const{ return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
97 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
98 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
99 inline UpdateAppVersionAppComponentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
100 inline UpdateAppVersionAppComponentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 inline UpdateAppVersionAppComponentRequest& WithName(const char* value) { SetName(value); return *this;}
103
105
111 inline const Aws::String& GetType() const{ return m_type; }
112 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
113 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
114 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
115 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
116 inline UpdateAppVersionAppComponentRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
117 inline UpdateAppVersionAppComponentRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
118 inline UpdateAppVersionAppComponentRequest& WithType(const char* value) { SetType(value); return *this;}
120 private:
121
123 bool m_additionalInfoHasBeenSet = false;
124
125 Aws::String m_appArn;
126 bool m_appArnHasBeenSet = false;
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_type;
135 bool m_typeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace ResilienceHub
140} // namespace Aws
UpdateAppVersionAppComponentRequest & WithId(const Aws::String &value)
UpdateAppVersionAppComponentRequest & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAppVersionAppComponentRequest & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionAppComponentRequest & WithType(const Aws::String &value)
UpdateAppVersionAppComponentRequest & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAppVersionAppComponentRequest & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
UpdateAppVersionAppComponentRequest & WithId(const char *value)
UpdateAppVersionAppComponentRequest & WithType(Aws::String &&value)
UpdateAppVersionAppComponentRequest & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAppVersionAppComponentRequest & WithName(Aws::String &&value)
UpdateAppVersionAppComponentRequest & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionAppComponentRequest & WithName(const Aws::String &value)
UpdateAppVersionAppComponentRequest & WithAppArn(Aws::String &&value)
UpdateAppVersionAppComponentRequest & WithType(const char *value)
UpdateAppVersionAppComponentRequest & WithAppArn(const char *value)
UpdateAppVersionAppComponentRequest & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionAppComponentRequest & WithName(const char *value)
UpdateAppVersionAppComponentRequest & WithAppArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
UpdateAppVersionAppComponentRequest & WithId(Aws::String &&value)
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAppVersionAppComponentRequest & AddAdditionalInfo(const char *key, Aws::Vector< 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