AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportSnapshotResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/SnapshotTaskDetail.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace EC2
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetDescription() const{ return m_description; }
44 inline void SetDescription(const Aws::String& value) { m_description = value; }
45 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
46 inline void SetDescription(const char* value) { m_description.assign(value); }
47 inline ImportSnapshotResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
48 inline ImportSnapshotResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
49 inline ImportSnapshotResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
51
53
56 inline const Aws::String& GetImportTaskId() const{ return m_importTaskId; }
57 inline void SetImportTaskId(const Aws::String& value) { m_importTaskId = value; }
58 inline void SetImportTaskId(Aws::String&& value) { m_importTaskId = std::move(value); }
59 inline void SetImportTaskId(const char* value) { m_importTaskId.assign(value); }
60 inline ImportSnapshotResponse& WithImportTaskId(const Aws::String& value) { SetImportTaskId(value); return *this;}
61 inline ImportSnapshotResponse& WithImportTaskId(Aws::String&& value) { SetImportTaskId(std::move(value)); return *this;}
62 inline ImportSnapshotResponse& WithImportTaskId(const char* value) { SetImportTaskId(value); return *this;}
64
66
69 inline const SnapshotTaskDetail& GetSnapshotTaskDetail() const{ return m_snapshotTaskDetail; }
70 inline void SetSnapshotTaskDetail(const SnapshotTaskDetail& value) { m_snapshotTaskDetail = value; }
71 inline void SetSnapshotTaskDetail(SnapshotTaskDetail&& value) { m_snapshotTaskDetail = std::move(value); }
75
77
80 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
81 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
82 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
83 inline ImportSnapshotResponse& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
84 inline ImportSnapshotResponse& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
85 inline ImportSnapshotResponse& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
86 inline ImportSnapshotResponse& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
88
90
91 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
92 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
93 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
95 inline ImportSnapshotResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_description;
100
101 Aws::String m_importTaskId;
102
103 SnapshotTaskDetail m_snapshotTaskDetail;
104
105 Aws::Vector<Tag> m_tags;
106
107 ResponseMetadata m_responseMetadata;
108 };
109
110} // namespace Model
111} // namespace EC2
112} // namespace Aws
ImportSnapshotResponse & WithImportTaskId(const Aws::String &value)
ImportSnapshotResponse & AddTags(const Tag &value)
ImportSnapshotResponse & WithSnapshotTaskDetail(const SnapshotTaskDetail &value)
ImportSnapshotResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetImportTaskId(const Aws::String &value)
ImportSnapshotResponse & WithImportTaskId(const char *value)
void SetSnapshotTaskDetail(SnapshotTaskDetail &&value)
ImportSnapshotResponse & WithTags(const Aws::Vector< Tag > &value)
ImportSnapshotResponse & WithDescription(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
const SnapshotTaskDetail & GetSnapshotTaskDetail() const
ImportSnapshotResponse & AddTags(Tag &&value)
AWS_EC2_API ImportSnapshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ImportSnapshotResponse & WithImportTaskId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
ImportSnapshotResponse & WithTags(Aws::Vector< Tag > &&value)
ImportSnapshotResponse & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
ImportSnapshotResponse & WithSnapshotTaskDetail(SnapshotTaskDetail &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API ImportSnapshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
ImportSnapshotResponse & WithResponseMetadata(ResponseMetadata &&value)
ImportSnapshotResponse & WithDescription(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetSnapshotTaskDetail(const SnapshotTaskDetail &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument