AWS SDK for C++  1.9.104
AWS SDK for C++
LogDestination.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 
45  inline const CloudWatchLogsLogGroup& GetCloudWatchLogsLogGroup() const{ return m_cloudWatchLogsLogGroup; }
46 
52  inline bool CloudWatchLogsLogGroupHasBeenSet() const { return m_cloudWatchLogsLogGroupHasBeenSet; }
53 
59  inline void SetCloudWatchLogsLogGroup(const CloudWatchLogsLogGroup& value) { m_cloudWatchLogsLogGroupHasBeenSet = true; m_cloudWatchLogsLogGroup = value; }
60 
66  inline void SetCloudWatchLogsLogGroup(CloudWatchLogsLogGroup&& value) { m_cloudWatchLogsLogGroupHasBeenSet = true; m_cloudWatchLogsLogGroup = std::move(value); }
67 
73  inline LogDestination& WithCloudWatchLogsLogGroup(const CloudWatchLogsLogGroup& value) { SetCloudWatchLogsLogGroup(value); return *this;}
74 
80  inline LogDestination& WithCloudWatchLogsLogGroup(CloudWatchLogsLogGroup&& value) { SetCloudWatchLogsLogGroup(std::move(value)); return *this;}
81 
82  private:
83 
84  CloudWatchLogsLogGroup m_cloudWatchLogsLogGroup;
85  bool m_cloudWatchLogsLogGroupHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace SFN
90 } // namespace Aws
Aws::SFN::Model::LogDestination::CloudWatchLogsLogGroupHasBeenSet
bool CloudWatchLogsLogGroupHasBeenSet() const
Definition: LogDestination.h:52
Aws::SFN::Model::LogDestination::GetCloudWatchLogsLogGroup
const CloudWatchLogsLogGroup & GetCloudWatchLogsLogGroup() const
Definition: LogDestination.h:45
Aws::SFN::Model::LogDestination::WithCloudWatchLogsLogGroup
LogDestination & WithCloudWatchLogsLogGroup(const CloudWatchLogsLogGroup &value)
Definition: LogDestination.h:73
Aws::SFN::Model::LogDestination::WithCloudWatchLogsLogGroup
LogDestination & WithCloudWatchLogsLogGroup(CloudWatchLogsLogGroup &&value)
Definition: LogDestination.h:80
Aws::SFN::Model::LogDestination::operator=
LogDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::LogDestination::LogDestination
LogDestination()
Aws::SFN::Model::LogDestination::SetCloudWatchLogsLogGroup
void SetCloudWatchLogsLogGroup(const CloudWatchLogsLogGroup &value)
Definition: LogDestination.h:59
Aws::SFN::Model::LogDestination::SetCloudWatchLogsLogGroup
void SetCloudWatchLogsLogGroup(CloudWatchLogsLogGroup &&value)
Definition: LogDestination.h:66
CloudWatchLogsLogGroup.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::LogDestination
Definition: LogDestination.h:32
Aws::SFN::Model::LogDestination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::CloudWatchLogsLogGroup
Definition: CloudWatchLogsLogGroup.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::LogDestination::LogDestination
LogDestination(Aws::Utils::Json::JsonView jsonValue)