AWS SDK for C++  1.9.104
AWS SDK for C++
InitiateJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Glacier
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetLocation() const{ return m_location; }
45 
49  inline void SetLocation(const Aws::String& value) { m_location = value; }
50 
54  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
55 
59  inline void SetLocation(const char* value) { m_location.assign(value); }
60 
64  inline InitiateJobResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
65 
69  inline InitiateJobResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
70 
74  inline InitiateJobResult& WithLocation(const char* value) { SetLocation(value); return *this;}
75 
76 
80  inline const Aws::String& GetJobId() const{ return m_jobId; }
81 
85  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
86 
90  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
91 
95  inline void SetJobId(const char* value) { m_jobId.assign(value); }
96 
100  inline InitiateJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
101 
105  inline InitiateJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
106 
110  inline InitiateJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
111 
112 
116  inline const Aws::String& GetJobOutputPath() const{ return m_jobOutputPath; }
117 
121  inline void SetJobOutputPath(const Aws::String& value) { m_jobOutputPath = value; }
122 
126  inline void SetJobOutputPath(Aws::String&& value) { m_jobOutputPath = std::move(value); }
127 
131  inline void SetJobOutputPath(const char* value) { m_jobOutputPath.assign(value); }
132 
136  inline InitiateJobResult& WithJobOutputPath(const Aws::String& value) { SetJobOutputPath(value); return *this;}
137 
141  inline InitiateJobResult& WithJobOutputPath(Aws::String&& value) { SetJobOutputPath(std::move(value)); return *this;}
142 
146  inline InitiateJobResult& WithJobOutputPath(const char* value) { SetJobOutputPath(value); return *this;}
147 
148  private:
149 
150  Aws::String m_location;
151 
152  Aws::String m_jobId;
153 
154  Aws::String m_jobOutputPath;
155  };
156 
157 } // namespace Model
158 } // namespace Glacier
159 } // namespace Aws
Aws::Glacier::Model::InitiateJobResult::SetJobId
void SetJobId(const char *value)
Definition: InitiateJobResult.h:95
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::InitiateJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: InitiateJobResult.h:80
Aws::Glacier::Model::InitiateJobResult::WithLocation
InitiateJobResult & WithLocation(Aws::String &&value)
Definition: InitiateJobResult.h:69
Aws::Glacier::Model::InitiateJobResult::WithJobId
InitiateJobResult & WithJobId(const char *value)
Definition: InitiateJobResult.h:110
Aws::Glacier::Model::InitiateJobResult::InitiateJobResult
InitiateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::InitiateJobResult::WithJobOutputPath
InitiateJobResult & WithJobOutputPath(const Aws::String &value)
Definition: InitiateJobResult.h:136
Aws::Glacier::Model::InitiateJobResult::WithJobId
InitiateJobResult & WithJobId(Aws::String &&value)
Definition: InitiateJobResult.h:105
Aws::Glacier::Model::InitiateJobResult::GetLocation
const Aws::String & GetLocation() const
Definition: InitiateJobResult.h:44
Aws::Glacier::Model::InitiateJobResult::SetLocation
void SetLocation(const Aws::String &value)
Definition: InitiateJobResult.h:49
Aws::Glacier::Model::InitiateJobResult::WithLocation
InitiateJobResult & WithLocation(const char *value)
Definition: InitiateJobResult.h:74
Aws::Glacier::Model::InitiateJobResult::WithJobId
InitiateJobResult & WithJobId(const Aws::String &value)
Definition: InitiateJobResult.h:100
Aws::Glacier::Model::InitiateJobResult::SetLocation
void SetLocation(const char *value)
Definition: InitiateJobResult.h:59
Aws::Glacier::Model::InitiateJobResult::InitiateJobResult
InitiateJobResult()
Aws::Glacier::Model::InitiateJobResult::SetLocation
void SetLocation(Aws::String &&value)
Definition: InitiateJobResult.h:54
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::InitiateJobResult::WithJobOutputPath
InitiateJobResult & WithJobOutputPath(Aws::String &&value)
Definition: InitiateJobResult.h:141
Aws::Glacier::Model::InitiateJobResult
Definition: InitiateJobResult.h:34
AWSString.h
Aws::Glacier::Model::InitiateJobResult::SetJobOutputPath
void SetJobOutputPath(Aws::String &&value)
Definition: InitiateJobResult.h:126
Aws::Glacier::Model::InitiateJobResult::SetJobOutputPath
void SetJobOutputPath(const Aws::String &value)
Definition: InitiateJobResult.h:121
Aws::Glacier::Model::InitiateJobResult::WithJobOutputPath
InitiateJobResult & WithJobOutputPath(const char *value)
Definition: InitiateJobResult.h:146
Aws::Glacier::Model::InitiateJobResult::GetJobOutputPath
const Aws::String & GetJobOutputPath() const
Definition: InitiateJobResult.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::InitiateJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: InitiateJobResult.h:85
Aws::Glacier::Model::InitiateJobResult::WithLocation
InitiateJobResult & WithLocation(const Aws::String &value)
Definition: InitiateJobResult.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::InitiateJobResult::operator=
InitiateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::InitiateJobResult::SetJobOutputPath
void SetJobOutputPath(const char *value)
Definition: InitiateJobResult.h:131
Aws::Glacier::Model::InitiateJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: InitiateJobResult.h:90
Glacier_EXPORTS.h