AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAppVersionAppComponentRequest.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#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace ResilienceHub
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_RESILIENCEHUB_API CreateAppVersionAppComponentRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateAppVersionAppComponent"; }
34
35 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const{ return m_additionalInfo; }
44 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
45 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
46 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
49 inline CreateAppVersionAppComponentRequest& AddAdditionalInfo(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
50 inline CreateAppVersionAppComponentRequest& AddAdditionalInfo(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
51 inline CreateAppVersionAppComponentRequest& AddAdditionalInfo(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
52 inline CreateAppVersionAppComponentRequest& AddAdditionalInfo(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
53 inline CreateAppVersionAppComponentRequest& AddAdditionalInfo(const char* key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
54 inline CreateAppVersionAppComponentRequest& AddAdditionalInfo(const char* key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
56
58
67 inline const Aws::String& GetAppArn() const{ return m_appArn; }
68 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
69 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
70 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
71 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
72 inline CreateAppVersionAppComponentRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
73 inline CreateAppVersionAppComponentRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
74 inline CreateAppVersionAppComponentRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
76
78
83 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
84 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
85 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
86 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
87 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
89 inline CreateAppVersionAppComponentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
90 inline CreateAppVersionAppComponentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
92
94
97 inline const Aws::String& GetId() const{ return m_id; }
98 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
99 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
100 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
101 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
102 inline CreateAppVersionAppComponentRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
103 inline CreateAppVersionAppComponentRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
104 inline CreateAppVersionAppComponentRequest& WithId(const char* value) { SetId(value); return *this;}
106
108
111 inline const Aws::String& GetName() const{ return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
114 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
115 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 inline CreateAppVersionAppComponentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
117 inline CreateAppVersionAppComponentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 inline CreateAppVersionAppComponentRequest& WithName(const char* value) { SetName(value); return *this;}
120
122
128 inline const Aws::String& GetType() const{ return m_type; }
129 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
130 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
131 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
132 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
133 inline CreateAppVersionAppComponentRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
134 inline CreateAppVersionAppComponentRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
135 inline CreateAppVersionAppComponentRequest& WithType(const char* value) { SetType(value); return *this;}
137 private:
138
140 bool m_additionalInfoHasBeenSet = false;
141
142 Aws::String m_appArn;
143 bool m_appArnHasBeenSet = false;
144
145 Aws::String m_clientToken;
146 bool m_clientTokenHasBeenSet = false;
147
148 Aws::String m_id;
149 bool m_idHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_type;
155 bool m_typeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace ResilienceHub
160} // namespace Aws
CreateAppVersionAppComponentRequest & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
CreateAppVersionAppComponentRequest & WithType(const Aws::String &value)
CreateAppVersionAppComponentRequest & WithType(const char *value)
CreateAppVersionAppComponentRequest & WithAppArn(const char *value)
CreateAppVersionAppComponentRequest & WithId(const char *value)
CreateAppVersionAppComponentRequest & WithAppArn(const Aws::String &value)
CreateAppVersionAppComponentRequest & WithName(const char *value)
CreateAppVersionAppComponentRequest & WithAppArn(Aws::String &&value)
CreateAppVersionAppComponentRequest & WithClientToken(const Aws::String &value)
CreateAppVersionAppComponentRequest & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
CreateAppVersionAppComponentRequest & WithId(const Aws::String &value)
CreateAppVersionAppComponentRequest & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
CreateAppVersionAppComponentRequest & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
CreateAppVersionAppComponentRequest & WithType(Aws::String &&value)
CreateAppVersionAppComponentRequest & WithClientToken(const char *value)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
CreateAppVersionAppComponentRequest & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
CreateAppVersionAppComponentRequest & WithId(Aws::String &&value)
CreateAppVersionAppComponentRequest & WithClientToken(Aws::String &&value)
CreateAppVersionAppComponentRequest & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
CreateAppVersionAppComponentRequest & WithName(Aws::String &&value)
CreateAppVersionAppComponentRequest & AddAdditionalInfo(const char *key, Aws::Vector< Aws::String > &&value)
CreateAppVersionAppComponentRequest & WithName(const Aws::String &value)
CreateAppVersionAppComponentRequest & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &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
std::vector< T, Aws::Allocator< T > > Vector