AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename AppConfigResourceT = ProjectAppConfigResourceConfig>
56 void SetAppConfigResource(AppConfigResourceT&& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = std::forward<AppConfigResourceT>(value); }
57 template<typename AppConfigResourceT = ProjectAppConfigResourceConfig>
58 CreateProjectRequest& WithAppConfigResource(AppConfigResourceT&& value) { SetAppConfigResource(std::forward<AppConfigResourceT>(value)); return *this;}
60
62
68 inline const ProjectDataDeliveryConfig& GetDataDelivery() const { return m_dataDelivery; }
69 inline bool DataDeliveryHasBeenSet() const { return m_dataDeliveryHasBeenSet; }
70 template<typename DataDeliveryT = ProjectDataDeliveryConfig>
71 void SetDataDelivery(DataDeliveryT&& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = std::forward<DataDeliveryT>(value); }
72 template<typename DataDeliveryT = ProjectDataDeliveryConfig>
73 CreateProjectRequest& WithDataDelivery(DataDeliveryT&& value) { SetDataDelivery(std::forward<DataDeliveryT>(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template<typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
84 template<typename DescriptionT = Aws::String>
85 CreateProjectRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 CreateProjectRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
112 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
113 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
114 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
116 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
117 CreateProjectRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
118 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
119 CreateProjectRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
120 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
121 }
123 private:
124
125 ProjectAppConfigResourceConfig m_appConfigResource;
126 bool m_appConfigResourceHasBeenSet = false;
127
128 ProjectDataDeliveryConfig m_dataDelivery;
129 bool m_dataDeliveryHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_name;
135 bool m_nameHasBeenSet = false;
136
138 bool m_tagsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace CloudWatchEvidently
143} // namespace Aws
CreateProjectRequest & WithAppConfigResource(AppConfigResourceT &&value)
CreateProjectRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateProjectRequest & WithDescription(DescriptionT &&value)
const ProjectAppConfigResourceConfig & GetAppConfigResource() const
const ProjectDataDeliveryConfig & GetDataDelivery() const
AWS_CLOUDWATCHEVIDENTLY_API CreateProjectRequest()=default
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateProjectRequest & WithDataDelivery(DataDeliveryT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
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