AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQAppRequest.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qapps/model/AppDefinitionInput.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QApps
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QAPPS_API CreateQAppRequest();
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 "CreateQApp"; }
33
34 AWS_QAPPS_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline CreateQAppRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline CreateQAppRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline CreateQAppRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
58 inline const Aws::String& GetTitle() const{ return m_title; }
59 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
60 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
61 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
62 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
63 inline CreateQAppRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
64 inline CreateQAppRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
65 inline CreateQAppRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline CreateQAppRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline CreateQAppRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline CreateQAppRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const AppDefinitionInput& GetAppDefinition() const{ return m_appDefinition; }
87 inline bool AppDefinitionHasBeenSet() const { return m_appDefinitionHasBeenSet; }
88 inline void SetAppDefinition(const AppDefinitionInput& value) { m_appDefinitionHasBeenSet = true; m_appDefinition = value; }
89 inline void SetAppDefinition(AppDefinitionInput&& value) { m_appDefinitionHasBeenSet = true; m_appDefinition = std::move(value); }
90 inline CreateQAppRequest& WithAppDefinition(const AppDefinitionInput& value) { SetAppDefinition(value); return *this;}
91 inline CreateQAppRequest& WithAppDefinition(AppDefinitionInput&& value) { SetAppDefinition(std::move(value)); return *this;}
93
95
98 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
99 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
100 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
101 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
102 inline CreateQAppRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
103 inline CreateQAppRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
104 inline CreateQAppRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
105 inline CreateQAppRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
106 inline CreateQAppRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
107 inline CreateQAppRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
108 inline CreateQAppRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
109 inline CreateQAppRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline CreateQAppRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
112 private:
113
114 Aws::String m_instanceId;
115 bool m_instanceIdHasBeenSet = false;
116
117 Aws::String m_title;
118 bool m_titleHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 AppDefinitionInput m_appDefinition;
124 bool m_appDefinitionHasBeenSet = false;
125
127 bool m_tagsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace QApps
132} // namespace Aws
CreateQAppRequest & WithAppDefinition(AppDefinitionInput &&value)
CreateQAppRequest & AddTags(Aws::String &&key, const char *value)
void SetAppDefinition(const AppDefinitionInput &value)
CreateQAppRequest & WithDescription(Aws::String &&value)
CreateQAppRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInstanceId(Aws::String &&value)
void SetTitle(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateQAppRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_QAPPS_API Aws::String SerializePayload() const override
CreateQAppRequest & WithInstanceId(Aws::String &&value)
CreateQAppRequest & WithTitle(const char *value)
CreateQAppRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateQAppRequest & WithDescription(const Aws::String &value)
CreateQAppRequest & WithInstanceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateQAppRequest & WithInstanceId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const AppDefinitionInput & GetAppDefinition() const
CreateQAppRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetInstanceId(const Aws::String &value)
CreateQAppRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateQAppRequest & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetInstanceId() const
CreateQAppRequest & WithDescription(const char *value)
void SetAppDefinition(AppDefinitionInput &&value)
CreateQAppRequest & WithAppDefinition(const AppDefinitionInput &value)
CreateQAppRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetTitle() const
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
CreateQAppRequest & WithTitle(Aws::String &&value)
CreateQAppRequest & AddTags(const char *key, const char *value)
CreateQAppRequest & WithTitle(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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