AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpsItemAlreadyExistsException.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{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
32 {
33 public:
38
39
41
42 inline const Aws::String& GetMessage() const{ return m_message; }
43 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
44 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
45 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
46 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
47 inline OpsItemAlreadyExistsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
48 inline OpsItemAlreadyExistsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
49 inline OpsItemAlreadyExistsException& WithMessage(const char* value) { SetMessage(value); return *this;}
51
53
54 inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
55 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
56 inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; }
57 inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); }
58 inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); }
59 inline OpsItemAlreadyExistsException& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
60 inline OpsItemAlreadyExistsException& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
61 inline OpsItemAlreadyExistsException& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
63 private:
64
65 Aws::String m_message;
66 bool m_messageHasBeenSet = false;
67
68 Aws::String m_opsItemId;
69 bool m_opsItemIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SSM
74} // namespace Aws
OpsItemAlreadyExistsException & WithMessage(const Aws::String &value)
OpsItemAlreadyExistsException & WithOpsItemId(const char *value)
OpsItemAlreadyExistsException & WithOpsItemId(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
OpsItemAlreadyExistsException & WithMessage(const char *value)
AWS_SSM_API OpsItemAlreadyExistsException(Aws::Utils::Json::JsonView jsonValue)
OpsItemAlreadyExistsException & WithMessage(Aws::String &&value)
AWS_SSM_API OpsItemAlreadyExistsException & operator=(Aws::Utils::Json::JsonView jsonValue)
OpsItemAlreadyExistsException & WithOpsItemId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue