AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportVmImageResult.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_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 imagebuilder
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IMAGEBUILDER_API ImportVmImageResult();
33
34
36
39 inline const Aws::String& GetRequestId() const{ return m_requestId; }
40 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
41 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
42 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
43 inline ImportVmImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
44 inline ImportVmImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
45 inline ImportVmImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
47
49
54 inline const Aws::String& GetImageArn() const{ return m_imageArn; }
55 inline void SetImageArn(const Aws::String& value) { m_imageArn = value; }
56 inline void SetImageArn(Aws::String&& value) { m_imageArn = std::move(value); }
57 inline void SetImageArn(const char* value) { m_imageArn.assign(value); }
58 inline ImportVmImageResult& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
59 inline ImportVmImageResult& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
60 inline ImportVmImageResult& WithImageArn(const char* value) { SetImageArn(value); return *this;}
62
64
67 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
68 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
69 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
70 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
71 inline ImportVmImageResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
72 inline ImportVmImageResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
73 inline ImportVmImageResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
75 private:
76
77 Aws::String m_requestId;
78
79 Aws::String m_imageArn;
80
81 Aws::String m_clientToken;
82 };
83
84} // namespace Model
85} // namespace imagebuilder
86} // namespace Aws
ImportVmImageResult & WithClientToken(const char *value)
ImportVmImageResult & WithImageArn(Aws::String &&value)
AWS_IMAGEBUILDER_API ImportVmImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportVmImageResult & WithImageArn(const char *value)
ImportVmImageResult & WithClientToken(Aws::String &&value)
ImportVmImageResult & WithRequestId(const char *value)
ImportVmImageResult & WithClientToken(const Aws::String &value)
ImportVmImageResult & WithRequestId(const Aws::String &value)
ImportVmImageResult & WithImageArn(const Aws::String &value)
AWS_IMAGEBUILDER_API ImportVmImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportVmImageResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue