AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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