AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
SlackBidirectionalConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsAgent {
20namespace Model {
21
29 public:
30 AWS_DEVOPSAGENT_API SlackBidirectionalConfiguration() = default;
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
41 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
42 template <typename RoleArnT = Aws::String>
43 void SetRoleArn(RoleArnT&& value) {
44 m_roleArnHasBeenSet = true;
45 m_roleArn = std::forward<RoleArnT>(value);
46 }
47 template <typename RoleArnT = Aws::String>
49 SetRoleArn(std::forward<RoleArnT>(value));
50 return *this;
51 }
53
55
61 inline bool GetEnabled() const { return m_enabled; }
62 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
63 inline void SetEnabled(bool value) {
64 m_enabledHasBeenSet = true;
65 m_enabled = value;
66 }
68 SetEnabled(value);
69 return *this;
70 }
72 private:
73 Aws::String m_roleArn;
74
75 bool m_enabled{false};
76 bool m_roleArnHasBeenSet = false;
77 bool m_enabledHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DevOpsAgent
82} // namespace Aws
SlackBidirectionalConfiguration & WithRoleArn(RoleArnT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API SlackBidirectionalConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API SlackBidirectionalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API SlackBidirectionalConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue