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/iot1click-projects/IoT1ClickProjects_EXPORTS.h>
8#include <aws/iot1click-projects/IoT1ClickProjectsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot1click-projects/model/PlacementTemplate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT1ClickProjects
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOT1CLICKPROJECTS_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_IOT1CLICKPROJECTS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetProjectName() const{ return m_projectName; }
41 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
42 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
43 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
44 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
45 inline UpdateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
46 inline UpdateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
47 inline UpdateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline UpdateProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline UpdateProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline UpdateProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
71 inline const PlacementTemplate& GetPlacementTemplate() const{ return m_placementTemplate; }
72 inline bool PlacementTemplateHasBeenSet() const { return m_placementTemplateHasBeenSet; }
73 inline void SetPlacementTemplate(const PlacementTemplate& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = value; }
74 inline void SetPlacementTemplate(PlacementTemplate&& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = std::move(value); }
76 inline UpdateProjectRequest& WithPlacementTemplate(PlacementTemplate&& value) { SetPlacementTemplate(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_projectName;
81 bool m_projectNameHasBeenSet = false;
82
83 Aws::String m_description;
84 bool m_descriptionHasBeenSet = false;
85
86 PlacementTemplate m_placementTemplate;
87 bool m_placementTemplateHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoT1ClickProjects
92} // namespace Aws
UpdateProjectRequest & WithPlacementTemplate(const PlacementTemplate &value)
void SetPlacementTemplate(const PlacementTemplate &value)
UpdateProjectRequest & WithDescription(const char *value)
UpdateProjectRequest & WithPlacementTemplate(PlacementTemplate &&value)
AWS_IOT1CLICKPROJECTS_API Aws::String SerializePayload() const override
UpdateProjectRequest & WithProjectName(const char *value)
UpdateProjectRequest & WithDescription(Aws::String &&value)
UpdateProjectRequest & WithProjectName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateProjectRequest & WithProjectName(Aws::String &&value)
UpdateProjectRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String