AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifySnapshotTierResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
42 inline void SetSnapshotId(const Aws::String& value) { m_snapshotId = value; }
43 inline void SetSnapshotId(Aws::String&& value) { m_snapshotId = std::move(value); }
44 inline void SetSnapshotId(const char* value) { m_snapshotId.assign(value); }
45 inline ModifySnapshotTierResponse& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
46 inline ModifySnapshotTierResponse& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
47 inline ModifySnapshotTierResponse& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetTieringStartTime() const{ return m_tieringStartTime; }
55 inline void SetTieringStartTime(const Aws::Utils::DateTime& value) { m_tieringStartTime = value; }
56 inline void SetTieringStartTime(Aws::Utils::DateTime&& value) { m_tieringStartTime = std::move(value); }
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
65 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
67 inline ModifySnapshotTierResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_snapshotId;
72
73 Aws::Utils::DateTime m_tieringStartTime;
74
75 ResponseMetadata m_responseMetadata;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
ModifySnapshotTierResponse & WithResponseMetadata(const ResponseMetadata &value)
ModifySnapshotTierResponse & WithTieringStartTime(Aws::Utils::DateTime &&value)
void SetTieringStartTime(Aws::Utils::DateTime &&value)
void SetTieringStartTime(const Aws::Utils::DateTime &value)
ModifySnapshotTierResponse & WithSnapshotId(const char *value)
ModifySnapshotTierResponse & WithTieringStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetTieringStartTime() const
AWS_EC2_API ModifySnapshotTierResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifySnapshotTierResponse & WithResponseMetadata(ResponseMetadata &&value)
ModifySnapshotTierResponse & WithSnapshotId(const Aws::String &value)
ModifySnapshotTierResponse & WithSnapshotId(Aws::String &&value)
AWS_EC2_API ModifySnapshotTierResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument