AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RollbackTrigger.h
1
6#pragma once
7#include <aws/serverlessrepo/ServerlessApplicationRepository_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 ServerlessApplicationRepository
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger();
38 AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetArn() const{ return m_arn; }
52 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
55 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
56 inline RollbackTrigger& WithArn(const Aws::String& value) { SetArn(value); return *this;}
57 inline RollbackTrigger& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
58 inline RollbackTrigger& WithArn(const char* value) { SetArn(value); return *this;}
60
62
69 inline const Aws::String& GetType() const{ return m_type; }
70 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
71 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
72 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
73 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
74 inline RollbackTrigger& WithType(const Aws::String& value) { SetType(value); return *this;}
75 inline RollbackTrigger& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
76 inline RollbackTrigger& WithType(const char* value) { SetType(value); return *this;}
78 private:
79
80 Aws::String m_arn;
81 bool m_arnHasBeenSet = false;
82
83 Aws::String m_type;
84 bool m_typeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ServerlessApplicationRepository
89} // namespace Aws
RollbackTrigger & WithType(const Aws::String &value)
RollbackTrigger & WithArn(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger()
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue