AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InitiateJobResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier
24{
25namespace Model
26{
34 {
35 public:
36 AWS_GLACIER_API InitiateJobResult();
39
40
42
45 inline const Aws::String& GetLocation() const{ return m_location; }
46 inline void SetLocation(const Aws::String& value) { m_location = value; }
47 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
48 inline void SetLocation(const char* value) { m_location.assign(value); }
49 inline InitiateJobResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
50 inline InitiateJobResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
51 inline InitiateJobResult& WithLocation(const char* value) { SetLocation(value); return *this;}
53
55
58 inline const Aws::String& GetJobId() const{ return m_jobId; }
59 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
60 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
61 inline void SetJobId(const char* value) { m_jobId.assign(value); }
62 inline InitiateJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
63 inline InitiateJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
64 inline InitiateJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
66
68
71 inline const Aws::String& GetJobOutputPath() const{ return m_jobOutputPath; }
72 inline void SetJobOutputPath(const Aws::String& value) { m_jobOutputPath = value; }
73 inline void SetJobOutputPath(Aws::String&& value) { m_jobOutputPath = std::move(value); }
74 inline void SetJobOutputPath(const char* value) { m_jobOutputPath.assign(value); }
75 inline InitiateJobResult& WithJobOutputPath(const Aws::String& value) { SetJobOutputPath(value); return *this;}
76 inline InitiateJobResult& WithJobOutputPath(Aws::String&& value) { SetJobOutputPath(std::move(value)); return *this;}
77 inline InitiateJobResult& WithJobOutputPath(const char* value) { SetJobOutputPath(value); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline InitiateJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline InitiateJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline InitiateJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::String m_location;
93
94 Aws::String m_jobId;
95
96 Aws::String m_jobOutputPath;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace Glacier
103} // namespace Aws
InitiateJobResult & WithJobOutputPath(const Aws::String &value)
InitiateJobResult & WithRequestId(const Aws::String &value)
InitiateJobResult & WithJobId(Aws::String &&value)
InitiateJobResult & WithRequestId(Aws::String &&value)
InitiateJobResult & WithRequestId(const char *value)
InitiateJobResult & WithJobId(const char *value)
InitiateJobResult & WithJobOutputPath(const char *value)
void SetJobOutputPath(Aws::String &&value)
void SetJobId(const Aws::String &value)
InitiateJobResult & WithLocation(Aws::String &&value)
const Aws::String & GetJobId() const
InitiateJobResult & WithJobId(const Aws::String &value)
const Aws::String & GetLocation() const
const Aws::String & GetRequestId() const
AWS_GLACIER_API InitiateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InitiateJobResult & WithJobOutputPath(Aws::String &&value)
InitiateJobResult & WithLocation(const char *value)
void SetJobOutputPath(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetJobOutputPath() const
void SetLocation(const Aws::String &value)
AWS_GLACIER_API InitiateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InitiateJobResult & WithLocation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue