AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ProjectNameT = Aws::String>
43 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
44 template<typename ProjectNameT = Aws::String>
45 UpdateProjectRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 UpdateProjectRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
67 inline const PlacementTemplate& GetPlacementTemplate() const { return m_placementTemplate; }
68 inline bool PlacementTemplateHasBeenSet() const { return m_placementTemplateHasBeenSet; }
69 template<typename PlacementTemplateT = PlacementTemplate>
70 void SetPlacementTemplate(PlacementTemplateT&& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = std::forward<PlacementTemplateT>(value); }
71 template<typename PlacementTemplateT = PlacementTemplate>
72 UpdateProjectRequest& WithPlacementTemplate(PlacementTemplateT&& value) { SetPlacementTemplate(std::forward<PlacementTemplateT>(value)); return *this;}
74 private:
75
76 Aws::String m_projectName;
77 bool m_projectNameHasBeenSet = false;
78
79 Aws::String m_description;
80 bool m_descriptionHasBeenSet = false;
81
82 PlacementTemplate m_placementTemplate;
83 bool m_placementTemplateHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace IoT1ClickProjects
88} // namespace Aws
AWS_IOT1CLICKPROJECTS_API UpdateProjectRequest()=default
UpdateProjectRequest & WithDescription(DescriptionT &&value)
UpdateProjectRequest & WithPlacementTemplate(PlacementTemplateT &&value)
AWS_IOT1CLICKPROJECTS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateProjectRequest & WithProjectName(ProjectNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String