AWS SDK for C++  1.9.126
AWS SDK for C++
CreateLogPatternResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ApplicationInsights
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const LogPattern& GetLogPattern() const{ return m_logPattern; }
40 
44  inline void SetLogPattern(const LogPattern& value) { m_logPattern = value; }
45 
49  inline void SetLogPattern(LogPattern&& value) { m_logPattern = std::move(value); }
50 
54  inline CreateLogPatternResult& WithLogPattern(const LogPattern& value) { SetLogPattern(value); return *this;}
55 
59  inline CreateLogPatternResult& WithLogPattern(LogPattern&& value) { SetLogPattern(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
66 
70  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupName = value; }
71 
75  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupName = std::move(value); }
76 
80  inline void SetResourceGroupName(const char* value) { m_resourceGroupName.assign(value); }
81 
85  inline CreateLogPatternResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
86 
90  inline CreateLogPatternResult& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
91 
95  inline CreateLogPatternResult& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
96 
97  private:
98 
99  LogPattern m_logPattern;
100 
101  Aws::String m_resourceGroupName;
102  };
103 
104 } // namespace Model
105 } // namespace ApplicationInsights
106 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ApplicationInsights::Model::CreateLogPatternResult::WithResourceGroupName
CreateLogPatternResult & WithResourceGroupName(const char *value)
Definition: CreateLogPatternResult.h:95
Aws::ApplicationInsights::Model::CreateLogPatternResult
Definition: CreateLogPatternResult.h:29
Aws::ApplicationInsights::Model::LogPattern
Definition: LogPattern.h:33
Aws::ApplicationInsights::Model::CreateLogPatternResult::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: CreateLogPatternResult.h:80
Aws::ApplicationInsights::Model::CreateLogPatternResult::operator=
CreateLogPatternResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ApplicationInsights::Model::CreateLogPatternResult::CreateLogPatternResult
CreateLogPatternResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ApplicationInsights::Model::CreateLogPatternResult::WithLogPattern
CreateLogPatternResult & WithLogPattern(LogPattern &&value)
Definition: CreateLogPatternResult.h:59
Aws::ApplicationInsights::Model::CreateLogPatternResult::WithLogPattern
CreateLogPatternResult & WithLogPattern(const LogPattern &value)
Definition: CreateLogPatternResult.h:54
Aws::ApplicationInsights::Model::CreateLogPatternResult::GetLogPattern
const LogPattern & GetLogPattern() const
Definition: CreateLogPatternResult.h:39
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::CreateLogPatternResult::CreateLogPatternResult
CreateLogPatternResult()
Aws::ApplicationInsights::Model::CreateLogPatternResult::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: CreateLogPatternResult.h:75
LogPattern.h
AWSString.h
Aws::ApplicationInsights::Model::CreateLogPatternResult::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: CreateLogPatternResult.h:70
Aws::ApplicationInsights::Model::CreateLogPatternResult::SetLogPattern
void SetLogPattern(const LogPattern &value)
Definition: CreateLogPatternResult.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::CreateLogPatternResult::WithResourceGroupName
CreateLogPatternResult & WithResourceGroupName(Aws::String &&value)
Definition: CreateLogPatternResult.h:90
Aws::ApplicationInsights::Model::CreateLogPatternResult::SetLogPattern
void SetLogPattern(LogPattern &&value)
Definition: CreateLogPatternResult.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::CreateLogPatternResult::WithResourceGroupName
CreateLogPatternResult & WithResourceGroupName(const Aws::String &value)
Definition: CreateLogPatternResult.h:85
Aws::ApplicationInsights::Model::CreateLogPatternResult::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: CreateLogPatternResult.h:65
ApplicationInsights_EXPORTS.h