AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobExecutionSettings.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_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 TranscribeService
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_TRANSCRIBESERVICE_API JobExecutionSettings();
41 AWS_TRANSCRIBESERVICE_API JobExecutionSettings(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESERVICE_API JobExecutionSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
57 inline bool GetAllowDeferredExecution() const{ return m_allowDeferredExecution; }
58 inline bool AllowDeferredExecutionHasBeenSet() const { return m_allowDeferredExecutionHasBeenSet; }
59 inline void SetAllowDeferredExecution(bool value) { m_allowDeferredExecutionHasBeenSet = true; m_allowDeferredExecution = value; }
62
64
75 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
76 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
77 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
78 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
79 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
80 inline JobExecutionSettings& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
81 inline JobExecutionSettings& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
82 inline JobExecutionSettings& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
84 private:
85
86 bool m_allowDeferredExecution;
87 bool m_allowDeferredExecutionHasBeenSet = false;
88
89 Aws::String m_dataAccessRoleArn;
90 bool m_dataAccessRoleArnHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace TranscribeService
95} // namespace Aws
AWS_TRANSCRIBESERVICE_API JobExecutionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
JobExecutionSettings & WithDataAccessRoleArn(const char *value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESERVICE_API JobExecutionSettings(Aws::Utils::Json::JsonView jsonValue)
JobExecutionSettings & WithAllowDeferredExecution(bool value)
JobExecutionSettings & WithDataAccessRoleArn(const Aws::String &value)
JobExecutionSettings & WithDataAccessRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue