AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTestGridProjectRequest.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/TestGridVpcConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DeviceFarm
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEVICEFARM_API UpdateTestGridProjectRequest();
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 "UpdateTestGridProject"; }
32
33 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
43 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
44 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
45 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
46 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
47 inline UpdateTestGridProjectRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
48 inline UpdateTestGridProjectRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
49 inline UpdateTestGridProjectRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline UpdateTestGridProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline UpdateTestGridProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline UpdateTestGridProjectRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline UpdateTestGridProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateTestGridProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateTestGridProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const TestGridVpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
85 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
86 inline void SetVpcConfig(const TestGridVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
87 inline void SetVpcConfig(TestGridVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
88 inline UpdateTestGridProjectRequest& WithVpcConfig(const TestGridVpcConfig& value) { SetVpcConfig(value); return *this;}
89 inline UpdateTestGridProjectRequest& WithVpcConfig(TestGridVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_projectArn;
94 bool m_projectArnHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 TestGridVpcConfig m_vpcConfig;
103 bool m_vpcConfigHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace DeviceFarm
108} // namespace Aws
UpdateTestGridProjectRequest & WithName(const char *value)
UpdateTestGridProjectRequest & WithVpcConfig(TestGridVpcConfig &&value)
UpdateTestGridProjectRequest & WithDescription(const Aws::String &value)
UpdateTestGridProjectRequest & WithProjectArn(const char *value)
UpdateTestGridProjectRequest & WithProjectArn(Aws::String &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
UpdateTestGridProjectRequest & WithDescription(const char *value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTestGridProjectRequest & WithProjectArn(const Aws::String &value)
UpdateTestGridProjectRequest & WithDescription(Aws::String &&value)
UpdateTestGridProjectRequest & WithName(const Aws::String &value)
UpdateTestGridProjectRequest & WithVpcConfig(const TestGridVpcConfig &value)
UpdateTestGridProjectRequest & WithName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String