AWS SDK for C++  1.9.104
AWS SDK for C++
CloudWatchLogsLogGroup.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 SFN
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
44  inline const Aws::String& GetLogGroupArn() const{ return m_logGroupArn; }
45 
50  inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; }
51 
56  inline void SetLogGroupArn(const Aws::String& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = value; }
57 
62  inline void SetLogGroupArn(Aws::String&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::move(value); }
63 
68  inline void SetLogGroupArn(const char* value) { m_logGroupArnHasBeenSet = true; m_logGroupArn.assign(value); }
69 
74  inline CloudWatchLogsLogGroup& WithLogGroupArn(const Aws::String& value) { SetLogGroupArn(value); return *this;}
75 
80  inline CloudWatchLogsLogGroup& WithLogGroupArn(Aws::String&& value) { SetLogGroupArn(std::move(value)); return *this;}
81 
86  inline CloudWatchLogsLogGroup& WithLogGroupArn(const char* value) { SetLogGroupArn(value); return *this;}
87 
88  private:
89 
90  Aws::String m_logGroupArn;
91  bool m_logGroupArnHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace SFN
96 } // namespace Aws
Aws::SFN::Model::CloudWatchLogsLogGroup::WithLogGroupArn
CloudWatchLogsLogGroup & WithLogGroupArn(const Aws::String &value)
Definition: CloudWatchLogsLogGroup.h:74
Aws::SFN::Model::CloudWatchLogsLogGroup::CloudWatchLogsLogGroup
CloudWatchLogsLogGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::CloudWatchLogsLogGroup::SetLogGroupArn
void SetLogGroupArn(Aws::String &&value)
Definition: CloudWatchLogsLogGroup.h:62
Aws::SFN::Model::CloudWatchLogsLogGroup::SetLogGroupArn
void SetLogGroupArn(const char *value)
Definition: CloudWatchLogsLogGroup.h:68
Aws::SFN::Model::CloudWatchLogsLogGroup::WithLogGroupArn
CloudWatchLogsLogGroup & WithLogGroupArn(Aws::String &&value)
Definition: CloudWatchLogsLogGroup.h:80
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::CloudWatchLogsLogGroup::SetLogGroupArn
void SetLogGroupArn(const Aws::String &value)
Definition: CloudWatchLogsLogGroup.h:56
Aws::SFN::Model::CloudWatchLogsLogGroup::operator=
CloudWatchLogsLogGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::CloudWatchLogsLogGroup::LogGroupArnHasBeenSet
bool LogGroupArnHasBeenSet() const
Definition: CloudWatchLogsLogGroup.h:50
Aws::SFN::Model::CloudWatchLogsLogGroup::WithLogGroupArn
CloudWatchLogsLogGroup & WithLogGroupArn(const char *value)
Definition: CloudWatchLogsLogGroup.h:86
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::CloudWatchLogsLogGroup::CloudWatchLogsLogGroup
CloudWatchLogsLogGroup()
Aws::SFN::Model::CloudWatchLogsLogGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::CloudWatchLogsLogGroup
Definition: CloudWatchLogsLogGroup.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::CloudWatchLogsLogGroup::GetLogGroupArn
const Aws::String & GetLogGroupArn() const
Definition: CloudWatchLogsLogGroup.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97