AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProjectRequest.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/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudWatchEvidently
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDWATCHEVIDENTLY_API UpdateProjectRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateProject"; }
32
33 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
34
35
37
47 inline const ProjectAppConfigResourceConfig& GetAppConfigResource() const{ return m_appConfigResource; }
48 inline bool AppConfigResourceHasBeenSet() const { return m_appConfigResourceHasBeenSet; }
49 inline void SetAppConfigResource(const ProjectAppConfigResourceConfig& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = value; }
50 inline void SetAppConfigResource(ProjectAppConfigResourceConfig&& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = std::move(value); }
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline UpdateProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline UpdateProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline UpdateProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const Aws::String& GetProject() const{ return m_project; }
74 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
75 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
76 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
77 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
78 inline UpdateProjectRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
79 inline UpdateProjectRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
80 inline UpdateProjectRequest& WithProject(const char* value) { SetProject(value); return *this;}
82 private:
83
84 ProjectAppConfigResourceConfig m_appConfigResource;
85 bool m_appConfigResourceHasBeenSet = false;
86
87 Aws::String m_description;
88 bool m_descriptionHasBeenSet = false;
89
90 Aws::String m_project;
91 bool m_projectHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CloudWatchEvidently
96} // namespace Aws
UpdateProjectRequest & WithProject(const Aws::String &value)
UpdateProjectRequest & WithProject(Aws::String &&value)
const ProjectAppConfigResourceConfig & GetAppConfigResource() const
void SetAppConfigResource(const ProjectAppConfigResourceConfig &value)
UpdateProjectRequest & WithAppConfigResource(ProjectAppConfigResourceConfig &&value)
UpdateProjectRequest & WithDescription(const char *value)
UpdateProjectRequest & WithProject(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API UpdateProjectRequest()
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
void SetAppConfigResource(ProjectAppConfigResourceConfig &&value)
virtual const char * GetServiceRequestName() const override
UpdateProjectRequest & WithDescription(Aws::String &&value)
UpdateProjectRequest & WithAppConfigResource(const ProjectAppConfigResourceConfig &value)
UpdateProjectRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String