AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppFlowConfig.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_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 LookoutMetrics
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOOKOUTMETRICS_API AppFlowConfig();
36 AWS_LOOKOUTMETRICS_API AppFlowConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTMETRICS_API AppFlowConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
47 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
48 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
49 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
50 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
51 inline AppFlowConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
52 inline AppFlowConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
53 inline AppFlowConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
55
57
60 inline const Aws::String& GetFlowName() const{ return m_flowName; }
61 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
62 inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; }
63 inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); }
64 inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); }
65 inline AppFlowConfig& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;}
66 inline AppFlowConfig& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;}
67 inline AppFlowConfig& WithFlowName(const char* value) { SetFlowName(value); return *this;}
69 private:
70
71 Aws::String m_roleArn;
72 bool m_roleArnHasBeenSet = false;
73
74 Aws::String m_flowName;
75 bool m_flowNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace LookoutMetrics
80} // namespace Aws
AppFlowConfig & WithFlowName(Aws::String &&value)
AWS_LOOKOUTMETRICS_API AppFlowConfig()
AppFlowConfig & WithFlowName(const Aws::String &value)
void SetFlowName(Aws::String &&value)
AppFlowConfig & WithRoleArn(Aws::String &&value)
AWS_LOOKOUTMETRICS_API AppFlowConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API AppFlowConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetFlowName() const
AppFlowConfig & WithFlowName(const char *value)
const Aws::String & GetRoleArn() const
AppFlowConfig & WithRoleArn(const Aws::String &value)
void SetFlowName(const Aws::String &value)
AppFlowConfig & WithRoleArn(const char *value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue