AWS SDK for C++  1.8.95
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:
38  Aws::Utils::Json::JsonValue Jsonize() const;
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
ExternalEventsDetail & WithDataLocation(Aws::String &&value)
ExternalEventsDetail & WithDataAccessRoleArn(const char *value)
ExternalEventsDetail & WithDataAccessRoleArn(const Aws::String &value)
#define AWS_FRAUDDETECTOR_API
ExternalEventsDetail & WithDataAccessRoleArn(Aws::String &&value)
void SetDataAccessRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ExternalEventsDetail & WithDataLocation(const char *value)
ExternalEventsDetail & WithDataLocation(const Aws::String &value)