AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTestGridUrlRequest.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 <utility>
11
12namespace Aws
13{
14namespace DeviceFarm
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DEVICEFARM_API CreateTestGridUrlRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateTestGridUrl"; }
31
32 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
33
35
36
38
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 CreateTestGridUrlRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
48 inline CreateTestGridUrlRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
49 inline CreateTestGridUrlRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
51
53
56 inline int GetExpiresInSeconds() const{ return m_expiresInSeconds; }
57 inline bool ExpiresInSecondsHasBeenSet() const { return m_expiresInSecondsHasBeenSet; }
58 inline void SetExpiresInSeconds(int value) { m_expiresInSecondsHasBeenSet = true; m_expiresInSeconds = value; }
59 inline CreateTestGridUrlRequest& WithExpiresInSeconds(int value) { SetExpiresInSeconds(value); return *this;}
61 private:
62
63 Aws::String m_projectArn;
64 bool m_projectArnHasBeenSet = false;
65
66 int m_expiresInSeconds;
67 bool m_expiresInSecondsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace DeviceFarm
72} // namespace Aws
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateTestGridUrlRequest & WithProjectArn(const char *value)
CreateTestGridUrlRequest & WithExpiresInSeconds(int value)
CreateTestGridUrlRequest & WithProjectArn(const Aws::String &value)
CreateTestGridUrlRequest & WithProjectArn(Aws::String &&value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String