AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProjectRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/evidently/model/ProjectAppConfigResourceConfig.h>
10#include <aws/evidently/model/ProjectDataDeliveryConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CloudWatchEvidently
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CLOUDWATCHEVIDENTLY_API CreateProjectRequest();
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 "CreateProject"; }
34
35 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
36
37
39
53 inline const ProjectAppConfigResourceConfig& GetAppConfigResource() const{ return m_appConfigResource; }
54 inline bool AppConfigResourceHasBeenSet() const { return m_appConfigResourceHasBeenSet; }
55 inline void SetAppConfigResource(const ProjectAppConfigResourceConfig& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = value; }
56 inline void SetAppConfigResource(ProjectAppConfigResourceConfig&& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = std::move(value); }
60
62
68 inline const ProjectDataDeliveryConfig& GetDataDelivery() const{ return m_dataDelivery; }
69 inline bool DataDeliveryHasBeenSet() const { return m_dataDeliveryHasBeenSet; }
70 inline void SetDataDelivery(const ProjectDataDeliveryConfig& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = value; }
71 inline void SetDataDelivery(ProjectDataDeliveryConfig&& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = std::move(value); }
73 inline CreateProjectRequest& WithDataDelivery(ProjectDataDeliveryConfig&& value) { SetDataDelivery(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
85 inline CreateProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline CreateProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline CreateProjectRequest& WithDescription(const char* value) { SetDescription(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 CreateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
100 inline CreateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 inline CreateProjectRequest& WithName(const char* value) { SetName(value); return *this;}
103
105
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
119 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline CreateProjectRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
121 inline CreateProjectRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122 inline CreateProjectRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 inline CreateProjectRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline CreateProjectRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline CreateProjectRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
126 inline CreateProjectRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
127 inline CreateProjectRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline CreateProjectRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
130 private:
131
132 ProjectAppConfigResourceConfig m_appConfigResource;
133 bool m_appConfigResourceHasBeenSet = false;
134
135 ProjectDataDeliveryConfig m_dataDelivery;
136 bool m_dataDeliveryHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
145 bool m_tagsHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace CloudWatchEvidently
150} // namespace Aws
void SetDataDelivery(const ProjectDataDeliveryConfig &value)
CreateProjectRequest & WithDescription(Aws::String &&value)
CreateProjectRequest & AddTags(const char *key, const char *value)
CreateProjectRequest & WithName(Aws::String &&value)
CreateProjectRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDataDelivery(ProjectDataDeliveryConfig &&value)
CreateProjectRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateProjectRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateProjectRequest & AddTags(const Aws::String &key, Aws::String &&value)
const ProjectAppConfigResourceConfig & GetAppConfigResource() const
CreateProjectRequest & WithAppConfigResource(ProjectAppConfigResourceConfig &&value)
CreateProjectRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const ProjectDataDeliveryConfig & GetDataDelivery() const
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & WithDataDelivery(const ProjectDataDeliveryConfig &value)
CreateProjectRequest & WithDataDelivery(ProjectDataDeliveryConfig &&value)
CreateProjectRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateProjectRequest & WithAppConfigResource(const ProjectAppConfigResourceConfig &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAppConfigResource(const ProjectAppConfigResourceConfig &value)
CreateProjectRequest & WithName(const Aws::String &value)
CreateProjectRequest & WithName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAppConfigResource(ProjectAppConfigResourceConfig &&value)
CreateProjectRequest & AddTags(Aws::String &&key, const char *value)
CreateProjectRequest & AddTags(const char *key, Aws::String &&value)
CreateProjectRequest & WithDescription(const char *value)
CreateProjectRequest & WithDescription(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHEVIDENTLY_API CreateProjectRequest()
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