AWS SDK for C++  1.9.66
AWS SDK for C++
OpsItemNotification.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
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 SSM
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
52  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 
59  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
60 
66  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 
73  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
74 
80  inline OpsItemNotification& WithArn(const Aws::String& value) { SetArn(value); return *this;}
81 
87  inline OpsItemNotification& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
88 
94  inline OpsItemNotification& WithArn(const char* value) { SetArn(value); return *this;}
95 
96  private:
97 
98  Aws::String m_arn;
99  bool m_arnHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace SSM
104 } // namespace Aws
Aws::SSM::Model::OpsItemNotification::operator=
OpsItemNotification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSM::Model::OpsItemNotification::GetArn
const Aws::String & GetArn() const
Definition: OpsItemNotification.h:45
Aws::SSM::Model::OpsItemNotification::SetArn
void SetArn(const Aws::String &value)
Definition: OpsItemNotification.h:59
Aws::SSM::Model::OpsItemNotification::OpsItemNotification
OpsItemNotification(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::OpsItemNotification::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: OpsItemNotification.h:52
Aws::SSM::Model::OpsItemNotification::SetArn
void SetArn(const char *value)
Definition: OpsItemNotification.h:73
SSM_EXPORTS.h
Aws::SSM::Model::OpsItemNotification::WithArn
OpsItemNotification & WithArn(const char *value)
Definition: OpsItemNotification.h:94
Aws::SSM::Model::OpsItemNotification::OpsItemNotification
OpsItemNotification()
Aws::SSM::Model::OpsItemNotification
Definition: OpsItemNotification.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::OpsItemNotification::SetArn
void SetArn(Aws::String &&value)
Definition: OpsItemNotification.h:66
Aws::SSM::Model::OpsItemNotification::WithArn
OpsItemNotification & WithArn(Aws::String &&value)
Definition: OpsItemNotification.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::OpsItemNotification::WithArn
OpsItemNotification & WithArn(const Aws::String &value)
Definition: OpsItemNotification.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::OpsItemNotification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const