AWS SDK for C++  0.14.3
AWS SDK for C++
ImportSnapshotResponse.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/ec2/EC2_EXPORTS.h>
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Xml
29 {
30  class XmlDocument;
31 } // namespace Xml
32 } // namespace Utils
33 namespace EC2
34 {
35 namespace Model
36 {
41  {
42  public:
46 
50  inline const Aws::String& GetImportTaskId() const{ return m_importTaskId; }
51 
55  inline void SetImportTaskId(const Aws::String& value) { m_importTaskId = value; }
56 
60  inline void SetImportTaskId(Aws::String&& value) { m_importTaskId = value; }
61 
65  inline void SetImportTaskId(const char* value) { m_importTaskId.assign(value); }
66 
70  inline ImportSnapshotResponse& WithImportTaskId(const Aws::String& value) { SetImportTaskId(value); return *this;}
71 
75  inline ImportSnapshotResponse& WithImportTaskId(Aws::String&& value) { SetImportTaskId(value); return *this;}
76 
80  inline ImportSnapshotResponse& WithImportTaskId(const char* value) { SetImportTaskId(value); return *this;}
81 
85  inline const SnapshotTaskDetail& GetSnapshotTaskDetail() const{ return m_snapshotTaskDetail; }
86 
90  inline void SetSnapshotTaskDetail(const SnapshotTaskDetail& value) { m_snapshotTaskDetail = value; }
91 
95  inline void SetSnapshotTaskDetail(SnapshotTaskDetail&& value) { m_snapshotTaskDetail = value; }
96 
100  inline ImportSnapshotResponse& WithSnapshotTaskDetail(const SnapshotTaskDetail& value) { SetSnapshotTaskDetail(value); return *this;}
101 
105  inline ImportSnapshotResponse& WithSnapshotTaskDetail(SnapshotTaskDetail&& value) { SetSnapshotTaskDetail(value); return *this;}
106 
110  inline const Aws::String& GetDescription() const{ return m_description; }
111 
115  inline void SetDescription(const Aws::String& value) { m_description = value; }
116 
120  inline void SetDescription(Aws::String&& value) { m_description = value; }
121 
125  inline void SetDescription(const char* value) { m_description.assign(value); }
126 
130  inline ImportSnapshotResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 
135  inline ImportSnapshotResponse& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
136 
140  inline ImportSnapshotResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
141 
142 
143  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
144 
145 
146  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
147 
148 
149  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
150 
151 
152  inline ImportSnapshotResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
153 
154 
155  inline ImportSnapshotResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
156 
157  private:
158  Aws::String m_importTaskId;
159  SnapshotTaskDetail m_snapshotTaskDetail;
160  Aws::String m_description;
161  ResponseMetadata m_responseMetadata;
162  };
163 
164 } // namespace Model
165 } // namespace EC2
166 } // namespace Aws
ImportSnapshotResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetSnapshotTaskDetail(const SnapshotTaskDetail &value)
ImportSnapshotResponse & WithResponseMetadata(ResponseMetadata &&value)
void SetDescription(const Aws::String &value)
void SetSnapshotTaskDetail(SnapshotTaskDetail &&value)
ImportSnapshotResponse & WithSnapshotTaskDetail(const SnapshotTaskDetail &value)
ImportSnapshotResponse & WithImportTaskId(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetImportTaskId(const Aws::String &value)
ImportSnapshotResponse & WithImportTaskId(Aws::String &&value)
const SnapshotTaskDetail & GetSnapshotTaskDetail() const
ImportSnapshotResponse & WithSnapshotTaskDetail(SnapshotTaskDetail &&value)
const Aws::String & GetImportTaskId() const
void SetResponseMetadata(ResponseMetadata &&value)
ImportSnapshotResponse & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const ResponseMetadata & GetResponseMetadata() const
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:37
ImportSnapshotResponse & WithImportTaskId(const Aws::String &value)
ImportSnapshotResponse & WithDescription(Aws::String &&value)
ImportSnapshotResponse & WithDescription(const Aws::String &value)
JSON (JavaScript Object Notation).