AWS SDK for C++  1.9.44
AWS SDK for C++
ExternalEventsDetail.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace FraudDetector
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetDataLocation() const{ return m_dataLocation; }
45 
49  inline bool DataLocationHasBeenSet() const { return m_dataLocationHasBeenSet; }
50 
54  inline void SetDataLocation(const Aws::String& value) { m_dataLocationHasBeenSet = true; m_dataLocation = value; }
55 
59  inline void SetDataLocation(Aws::String&& value) { m_dataLocationHasBeenSet = true; m_dataLocation = std::move(value); }
60 
64  inline void SetDataLocation(const char* value) { m_dataLocationHasBeenSet = true; m_dataLocation.assign(value); }
65 
69  inline ExternalEventsDetail& WithDataLocation(const Aws::String& value) { SetDataLocation(value); return *this;}
70 
74  inline ExternalEventsDetail& WithDataLocation(Aws::String&& value) { SetDataLocation(std::move(value)); return *this;}
75 
79  inline ExternalEventsDetail& WithDataLocation(const char* value) { SetDataLocation(value); return *this;}
80 
81 
86  inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
87 
92  inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
93 
98  inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
99 
104  inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
105 
110  inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
111 
116  inline ExternalEventsDetail& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
117 
122  inline ExternalEventsDetail& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
123 
128  inline ExternalEventsDetail& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
129 
130  private:
131 
132  Aws::String m_dataLocation;
133  bool m_dataLocationHasBeenSet;
134 
135  Aws::String m_dataAccessRoleArn;
136  bool m_dataAccessRoleArnHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace FraudDetector
141 } // namespace Aws
Aws::FraudDetector::Model::ExternalEventsDetail::SetDataLocation
void SetDataLocation(Aws::String &&value)
Definition: ExternalEventsDetail.h:59
Aws::FraudDetector::Model::ExternalEventsDetail::WithDataLocation
ExternalEventsDetail & WithDataLocation(const char *value)
Definition: ExternalEventsDetail.h:79
Aws::FraudDetector::Model::ExternalEventsDetail::DataAccessRoleArnHasBeenSet
bool DataAccessRoleArnHasBeenSet() const
Definition: ExternalEventsDetail.h:92
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ExternalEventsDetail::ExternalEventsDetail
ExternalEventsDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ExternalEventsDetail::SetDataAccessRoleArn
void SetDataAccessRoleArn(const char *value)
Definition: ExternalEventsDetail.h:110
Aws::FraudDetector::Model::ExternalEventsDetail::ExternalEventsDetail
ExternalEventsDetail()
Aws::FraudDetector::Model::ExternalEventsDetail::WithDataAccessRoleArn
ExternalEventsDetail & WithDataAccessRoleArn(Aws::String &&value)
Definition: ExternalEventsDetail.h:122
Aws::FraudDetector::Model::ExternalEventsDetail::operator=
ExternalEventsDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::ExternalEventsDetail::SetDataLocation
void SetDataLocation(const Aws::String &value)
Definition: ExternalEventsDetail.h:54
Aws::FraudDetector::Model::ExternalEventsDetail::WithDataLocation
ExternalEventsDetail & WithDataLocation(const Aws::String &value)
Definition: ExternalEventsDetail.h:69
Aws::FraudDetector::Model::ExternalEventsDetail::SetDataAccessRoleArn
void SetDataAccessRoleArn(const Aws::String &value)
Definition: ExternalEventsDetail.h:98
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::ExternalEventsDetail::SetDataLocation
void SetDataLocation(const char *value)
Definition: ExternalEventsDetail.h:64
Aws::FraudDetector::Model::ExternalEventsDetail::GetDataAccessRoleArn
const Aws::String & GetDataAccessRoleArn() const
Definition: ExternalEventsDetail.h:86
Aws::FraudDetector::Model::ExternalEventsDetail::SetDataAccessRoleArn
void SetDataAccessRoleArn(Aws::String &&value)
Definition: ExternalEventsDetail.h:104
Aws::FraudDetector::Model::ExternalEventsDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::ExternalEventsDetail::WithDataLocation
ExternalEventsDetail & WithDataLocation(Aws::String &&value)
Definition: ExternalEventsDetail.h:74
Aws::FraudDetector::Model::ExternalEventsDetail::GetDataLocation
const Aws::String & GetDataLocation() const
Definition: ExternalEventsDetail.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::ExternalEventsDetail::WithDataAccessRoleArn
ExternalEventsDetail & WithDataAccessRoleArn(const char *value)
Definition: ExternalEventsDetail.h:128
Aws::FraudDetector::Model::ExternalEventsDetail::WithDataAccessRoleArn
ExternalEventsDetail & WithDataAccessRoleArn(const Aws::String &value)
Definition: ExternalEventsDetail.h:116
Aws::FraudDetector::Model::ExternalEventsDetail::DataLocationHasBeenSet
bool DataLocationHasBeenSet() const
Definition: ExternalEventsDetail.h:49
Aws::FraudDetector::Model::ExternalEventsDetail
Definition: ExternalEventsDetail.h:33