AWS SDK for C++  1.9.109
AWS SDK for C++
EventTriggerDefinition.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 Snowball
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetEventResourceARN() const{ return m_eventResourceARN; }
46 
51  inline bool EventResourceARNHasBeenSet() const { return m_eventResourceARNHasBeenSet; }
52 
57  inline void SetEventResourceARN(const Aws::String& value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN = value; }
58 
63  inline void SetEventResourceARN(Aws::String&& value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN = std::move(value); }
64 
69  inline void SetEventResourceARN(const char* value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN.assign(value); }
70 
75  inline EventTriggerDefinition& WithEventResourceARN(const Aws::String& value) { SetEventResourceARN(value); return *this;}
76 
81  inline EventTriggerDefinition& WithEventResourceARN(Aws::String&& value) { SetEventResourceARN(std::move(value)); return *this;}
82 
87  inline EventTriggerDefinition& WithEventResourceARN(const char* value) { SetEventResourceARN(value); return *this;}
88 
89  private:
90 
91  Aws::String m_eventResourceARN;
92  bool m_eventResourceARNHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace Snowball
97 } // namespace Aws
Aws::Snowball::Model::EventTriggerDefinition::SetEventResourceARN
void SetEventResourceARN(const char *value)
Definition: EventTriggerDefinition.h:69
Aws::Snowball::Model::EventTriggerDefinition::EventResourceARNHasBeenSet
bool EventResourceARNHasBeenSet() const
Definition: EventTriggerDefinition.h:51
Aws::Snowball::Model::EventTriggerDefinition::WithEventResourceARN
EventTriggerDefinition & WithEventResourceARN(Aws::String &&value)
Definition: EventTriggerDefinition.h:81
Aws::Snowball::Model::EventTriggerDefinition::SetEventResourceARN
void SetEventResourceARN(const Aws::String &value)
Definition: EventTriggerDefinition.h:57
Aws::Snowball::Model::EventTriggerDefinition::EventTriggerDefinition
EventTriggerDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::EventTriggerDefinition::EventTriggerDefinition
EventTriggerDefinition()
Aws::Snowball::Model::EventTriggerDefinition
Definition: EventTriggerDefinition.h:33
Aws::Snowball::Model::EventTriggerDefinition::WithEventResourceARN
EventTriggerDefinition & WithEventResourceARN(const Aws::String &value)
Definition: EventTriggerDefinition.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::EventTriggerDefinition::SetEventResourceARN
void SetEventResourceARN(Aws::String &&value)
Definition: EventTriggerDefinition.h:63
Aws::Snowball::Model::EventTriggerDefinition::GetEventResourceARN
const Aws::String & GetEventResourceARN() const
Definition: EventTriggerDefinition.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::EventTriggerDefinition::operator=
EventTriggerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::EventTriggerDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Snowball_EXPORTS.h
Aws::Snowball::Model::EventTriggerDefinition::WithEventResourceARN
EventTriggerDefinition & WithEventResourceARN(const char *value)
Definition: EventTriggerDefinition.h:87