AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePackageResult.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IOT_API CreatePackageResult();
33
34
36
39 inline const Aws::String& GetPackageName() const{ return m_packageName; }
40 inline void SetPackageName(const Aws::String& value) { m_packageName = value; }
41 inline void SetPackageName(Aws::String&& value) { m_packageName = std::move(value); }
42 inline void SetPackageName(const char* value) { m_packageName.assign(value); }
43 inline CreatePackageResult& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
44 inline CreatePackageResult& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
45 inline CreatePackageResult& WithPackageName(const char* value) { SetPackageName(value); return *this;}
47
49
52 inline const Aws::String& GetPackageArn() const{ return m_packageArn; }
53 inline void SetPackageArn(const Aws::String& value) { m_packageArn = value; }
54 inline void SetPackageArn(Aws::String&& value) { m_packageArn = std::move(value); }
55 inline void SetPackageArn(const char* value) { m_packageArn.assign(value); }
56 inline CreatePackageResult& WithPackageArn(const Aws::String& value) { SetPackageArn(value); return *this;}
57 inline CreatePackageResult& WithPackageArn(Aws::String&& value) { SetPackageArn(std::move(value)); return *this;}
58 inline CreatePackageResult& WithPackageArn(const char* value) { SetPackageArn(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline void SetDescription(const Aws::String& value) { m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_description.assign(value); }
69 inline CreatePackageResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline CreatePackageResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline CreatePackageResult& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline CreatePackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline CreatePackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline CreatePackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_packageName;
87
88 Aws::String m_packageArn;
89
90 Aws::String m_description;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace IoT
97} // namespace Aws
const Aws::String & GetRequestId() const
const Aws::String & GetPackageName() const
void SetPackageName(const Aws::String &value)
CreatePackageResult & WithRequestId(Aws::String &&value)
AWS_IOT_API CreatePackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_IOT_API CreatePackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePackageResult & WithRequestId(const Aws::String &value)
CreatePackageResult & WithRequestId(const char *value)
const Aws::String & GetPackageArn() const
CreatePackageResult & WithPackageName(Aws::String &&value)
void SetPackageName(Aws::String &&value)
CreatePackageResult & WithPackageName(const Aws::String &value)
void SetPackageArn(Aws::String &&value)
CreatePackageResult & WithPackageName(const char *value)
void SetRequestId(const Aws::String &value)
CreatePackageResult & WithPackageArn(const char *value)
CreatePackageResult & WithDescription(const Aws::String &value)
CreatePackageResult & WithDescription(Aws::String &&value)
CreatePackageResult & WithDescription(const char *value)
CreatePackageResult & WithPackageArn(const Aws::String &value)
const Aws::String & GetDescription() const
CreatePackageResult & WithPackageArn(Aws::String &&value)
void SetPackageArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue