AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateOpsItemResult.h
1
6#pragma once
7#include <aws/ssm/SSM_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 SSM
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SSM_API CreateOpsItemResult();
33
34
36
39 inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
40 inline void SetOpsItemId(const Aws::String& value) { m_opsItemId = value; }
41 inline void SetOpsItemId(Aws::String&& value) { m_opsItemId = std::move(value); }
42 inline void SetOpsItemId(const char* value) { m_opsItemId.assign(value); }
43 inline CreateOpsItemResult& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
44 inline CreateOpsItemResult& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
45 inline CreateOpsItemResult& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
47
49
52 inline const Aws::String& GetOpsItemArn() const{ return m_opsItemArn; }
53 inline void SetOpsItemArn(const Aws::String& value) { m_opsItemArn = value; }
54 inline void SetOpsItemArn(Aws::String&& value) { m_opsItemArn = std::move(value); }
55 inline void SetOpsItemArn(const char* value) { m_opsItemArn.assign(value); }
56 inline CreateOpsItemResult& WithOpsItemArn(const Aws::String& value) { SetOpsItemArn(value); return *this;}
57 inline CreateOpsItemResult& WithOpsItemArn(Aws::String&& value) { SetOpsItemArn(std::move(value)); return *this;}
58 inline CreateOpsItemResult& WithOpsItemArn(const char* value) { SetOpsItemArn(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline CreateOpsItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline CreateOpsItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline CreateOpsItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_opsItemId;
74
75 Aws::String m_opsItemArn;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace SSM
82} // namespace Aws
void SetOpsItemId(const Aws::String &value)
CreateOpsItemResult & WithOpsItemId(Aws::String &&value)
void SetOpsItemArn(const Aws::String &value)
AWS_SSM_API CreateOpsItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateOpsItemResult & WithOpsItemId(const char *value)
const Aws::String & GetOpsItemArn() const
CreateOpsItemResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
CreateOpsItemResult & WithRequestId(const Aws::String &value)
CreateOpsItemResult & WithOpsItemId(const Aws::String &value)
const Aws::String & GetOpsItemId() const
CreateOpsItemResult & WithOpsItemArn(const Aws::String &value)
CreateOpsItemResult & WithOpsItemArn(Aws::String &&value)
CreateOpsItemResult & WithRequestId(const char *value)
void SetOpsItemArn(Aws::String &&value)
CreateOpsItemResult & WithOpsItemArn(const char *value)
AWS_SSM_API CreateOpsItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue