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/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/databrew/model/Sample.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GlueDataBrew
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUEDATABREW_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_GLUEDATABREW_API Aws::String SerializePayload() const override;
34
35
37
38 inline const Sample& GetSample() const{ return m_sample; }
39 inline bool SampleHasBeenSet() const { return m_sampleHasBeenSet; }
40 inline void SetSample(const Sample& value) { m_sampleHasBeenSet = true; m_sample = value; }
41 inline void SetSample(Sample&& value) { m_sampleHasBeenSet = true; m_sample = std::move(value); }
42 inline UpdateProjectRequest& WithSample(const Sample& value) { SetSample(value); return *this;}
43 inline UpdateProjectRequest& WithSample(Sample&& value) { SetSample(std::move(value)); return *this;}
45
47
51 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
52 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
53 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
54 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
55 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
56 inline UpdateProjectRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
57 inline UpdateProjectRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
58 inline UpdateProjectRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline UpdateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline UpdateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline UpdateProjectRequest& WithName(const char* value) { SetName(value); return *this;}
74 private:
75
76 Sample m_sample;
77 bool m_sampleHasBeenSet = false;
78
79 Aws::String m_roleArn;
80 bool m_roleArnHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace GlueDataBrew
88} // namespace Aws
UpdateProjectRequest & WithRoleArn(const char *value)
UpdateProjectRequest & WithRoleArn(const Aws::String &value)
UpdateProjectRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
UpdateProjectRequest & WithSample(const Sample &value)
UpdateProjectRequest & WithSample(Sample &&value)
UpdateProjectRequest & WithName(const char *value)
UpdateProjectRequest & WithRoleArn(Aws::String &&value)
UpdateProjectRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String