AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduledActionAssociation.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_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 RedshiftServerless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFTSERVERLESS_API ScheduledActionAssociation();
36 AWS_REDSHIFTSERVERLESS_API ScheduledActionAssociation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REDSHIFTSERVERLESS_API ScheduledActionAssociation& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
46 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
47 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
48 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
49 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
50 inline ScheduledActionAssociation& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;}
51 inline ScheduledActionAssociation& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
52 inline ScheduledActionAssociation& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
54
56
59 inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
60 inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
61 inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
62 inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
63 inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
65 inline ScheduledActionAssociation& WithScheduledActionName(Aws::String&& value) { SetScheduledActionName(std::move(value)); return *this;}
66 inline ScheduledActionAssociation& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
68 private:
69
70 Aws::String m_namespaceName;
71 bool m_namespaceNameHasBeenSet = false;
72
73 Aws::String m_scheduledActionName;
74 bool m_scheduledActionNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace RedshiftServerless
79} // namespace Aws
ScheduledActionAssociation & WithScheduledActionName(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API ScheduledActionAssociation(Aws::Utils::Json::JsonView jsonValue)
ScheduledActionAssociation & WithNamespaceName(const char *value)
ScheduledActionAssociation & WithScheduledActionName(const char *value)
ScheduledActionAssociation & WithNamespaceName(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API ScheduledActionAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduledActionAssociation & WithScheduledActionName(const Aws::String &value)
ScheduledActionAssociation & WithNamespaceName(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue