AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProjectRequest.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 CreateProjectRequest();
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 "CreateProject"; }
36
37 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline CreateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline CreateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline CreateProjectRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
62 inline int GetDefaultJobTimeoutMinutes() const{ return m_defaultJobTimeoutMinutes; }
63 inline bool DefaultJobTimeoutMinutesHasBeenSet() const { return m_defaultJobTimeoutMinutesHasBeenSet; }
64 inline void SetDefaultJobTimeoutMinutes(int value) { m_defaultJobTimeoutMinutesHasBeenSet = true; m_defaultJobTimeoutMinutes = value; }
67
69
72 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
73 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
74 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
75 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
76 inline CreateProjectRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
77 inline CreateProjectRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 int m_defaultJobTimeoutMinutes;
85 bool m_defaultJobTimeoutMinutesHasBeenSet = false;
86
87 VpcConfig m_vpcConfig;
88 bool m_vpcConfigHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DeviceFarm
93} // namespace Aws
CreateProjectRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & WithName(const Aws::String &value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
CreateProjectRequest & WithName(Aws::String &&value)
CreateProjectRequest & WithVpcConfig(const VpcConfig &value)
CreateProjectRequest & WithVpcConfig(VpcConfig &&value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateProjectRequest & WithDefaultJobTimeoutMinutes(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String