AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTestGridUrlResult.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DeviceFarm
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DEVICEFARM_API CreateTestGridUrlResult();
34
35
37
41 inline const Aws::String& GetUrl() const{ return m_url; }
42 inline void SetUrl(const Aws::String& value) { m_url = value; }
43 inline void SetUrl(Aws::String&& value) { m_url = std::move(value); }
44 inline void SetUrl(const char* value) { m_url.assign(value); }
45 inline CreateTestGridUrlResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
46 inline CreateTestGridUrlResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
47 inline CreateTestGridUrlResult& WithUrl(const char* value) { SetUrl(value); return *this;}
49
51
55 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
56 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expires = value; }
57 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expires = std::move(value); }
58 inline CreateTestGridUrlResult& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
59 inline CreateTestGridUrlResult& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline CreateTestGridUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline CreateTestGridUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline CreateTestGridUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 Aws::String m_url;
75
76 Aws::Utils::DateTime m_expires;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace DeviceFarm
83} // namespace Aws
AWS_DEVICEFARM_API CreateTestGridUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTestGridUrlResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetExpires() const
AWS_DEVICEFARM_API CreateTestGridUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTestGridUrlResult & WithUrl(const Aws::String &value)
void SetExpires(const Aws::Utils::DateTime &value)
CreateTestGridUrlResult & WithUrl(const char *value)
CreateTestGridUrlResult & WithRequestId(const char *value)
CreateTestGridUrlResult & WithExpires(const Aws::Utils::DateTime &value)
CreateTestGridUrlResult & WithUrl(Aws::String &&value)
CreateTestGridUrlResult & WithExpires(Aws::Utils::DateTime &&value)
CreateTestGridUrlResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue