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/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/VpcConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DeviceFarm
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_DEVICEFARM_API UpdateProjectRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateProject"; }
36
37 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline UpdateProjectRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline UpdateProjectRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline UpdateProjectRequest& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline UpdateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline UpdateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline UpdateProjectRequest& WithName(const char* value) { SetName(value); return *this;}
70
72
76 inline int GetDefaultJobTimeoutMinutes() const{ return m_defaultJobTimeoutMinutes; }
77 inline bool DefaultJobTimeoutMinutesHasBeenSet() const { return m_defaultJobTimeoutMinutesHasBeenSet; }
78 inline void SetDefaultJobTimeoutMinutes(int value) { m_defaultJobTimeoutMinutesHasBeenSet = true; m_defaultJobTimeoutMinutes = value; }
81
83
86 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
87 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
88 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
89 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
90 inline UpdateProjectRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
91 inline UpdateProjectRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_arn;
96 bool m_arnHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 int m_defaultJobTimeoutMinutes;
102 bool m_defaultJobTimeoutMinutesHasBeenSet = false;
103
104 VpcConfig m_vpcConfig;
105 bool m_vpcConfigHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace DeviceFarm
110} // namespace Aws
UpdateProjectRequest & WithDefaultJobTimeoutMinutes(int value)
UpdateProjectRequest & WithArn(const Aws::String &value)
UpdateProjectRequest & WithArn(const char *value)
UpdateProjectRequest & WithVpcConfig(VpcConfig &&value)
virtual const char * GetServiceRequestName() const override
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProjectRequest & WithName(const Aws::String &value)
UpdateProjectRequest & WithName(Aws::String &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
UpdateProjectRequest & WithVpcConfig(const VpcConfig &value)
UpdateProjectRequest & WithName(const char *value)
UpdateProjectRequest & WithArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String