AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetLogGroupFieldsRequest.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudWatchLogs
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDWATCHLOGS_API GetLogGroupFieldsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetLogGroupFields"; }
31
32 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
33
34 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
43 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
44 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
45 template<typename LogGroupNameT = Aws::String>
46 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::forward<LogGroupNameT>(value); }
47 template<typename LogGroupNameT = Aws::String>
48 GetLogGroupFieldsRequest& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
50
52
59 inline long long GetTime() const { return m_time; }
60 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
61 inline void SetTime(long long value) { m_timeHasBeenSet = true; m_time = value; }
62 inline GetLogGroupFieldsRequest& WithTime(long long value) { SetTime(value); return *this;}
64
66
72 inline const Aws::String& GetLogGroupIdentifier() const { return m_logGroupIdentifier; }
73 inline bool LogGroupIdentifierHasBeenSet() const { return m_logGroupIdentifierHasBeenSet; }
74 template<typename LogGroupIdentifierT = Aws::String>
75 void SetLogGroupIdentifier(LogGroupIdentifierT&& value) { m_logGroupIdentifierHasBeenSet = true; m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value); }
76 template<typename LogGroupIdentifierT = Aws::String>
77 GetLogGroupFieldsRequest& WithLogGroupIdentifier(LogGroupIdentifierT&& value) { SetLogGroupIdentifier(std::forward<LogGroupIdentifierT>(value)); return *this;}
79 private:
80
81 Aws::String m_logGroupName;
82 bool m_logGroupNameHasBeenSet = false;
83
84 long long m_time{0};
85 bool m_timeHasBeenSet = false;
86
87 Aws::String m_logGroupIdentifier;
88 bool m_logGroupIdentifierHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CloudWatchLogs
93} // namespace Aws
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetLogGroupFieldsRequest & WithTime(long long value)
AWS_CLOUDWATCHLOGS_API GetLogGroupFieldsRequest()=default
GetLogGroupFieldsRequest & WithLogGroupName(LogGroupNameT &&value)
GetLogGroupFieldsRequest & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String