AWS SDK for C++  0.12.9
AWS SDK for C++
RejectedLogEventsInfo.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace CloudWatchLogs
28 {
29 namespace Model
30 {
31 
33  {
34  public:
37  RejectedLogEventsInfo& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
38  Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41  inline long GetTooNewLogEventStartIndex() const{ return m_tooNewLogEventStartIndex; }
42 
43 
44  inline void SetTooNewLogEventStartIndex(long value) { m_tooNewLogEventStartIndexHasBeenSet = true; m_tooNewLogEventStartIndex = value; }
45 
46 
47  inline RejectedLogEventsInfo& WithTooNewLogEventStartIndex(long value) { SetTooNewLogEventStartIndex(value); return *this;}
48 
49 
50  inline long GetTooOldLogEventEndIndex() const{ return m_tooOldLogEventEndIndex; }
51 
52 
53  inline void SetTooOldLogEventEndIndex(long value) { m_tooOldLogEventEndIndexHasBeenSet = true; m_tooOldLogEventEndIndex = value; }
54 
55 
56  inline RejectedLogEventsInfo& WithTooOldLogEventEndIndex(long value) { SetTooOldLogEventEndIndex(value); return *this;}
57 
58 
59  inline long GetExpiredLogEventEndIndex() const{ return m_expiredLogEventEndIndex; }
60 
61 
62  inline void SetExpiredLogEventEndIndex(long value) { m_expiredLogEventEndIndexHasBeenSet = true; m_expiredLogEventEndIndex = value; }
63 
64 
65  inline RejectedLogEventsInfo& WithExpiredLogEventEndIndex(long value) { SetExpiredLogEventEndIndex(value); return *this;}
66 
67  private:
68  long m_tooNewLogEventStartIndex;
69  bool m_tooNewLogEventStartIndexHasBeenSet;
70  long m_tooOldLogEventEndIndex;
71  bool m_tooOldLogEventEndIndexHasBeenSet;
72  long m_expiredLogEventEndIndex;
73  bool m_expiredLogEventEndIndexHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace CloudWatchLogs
78 } // namespace Aws
RejectedLogEventsInfo & WithTooOldLogEventEndIndex(long value)
#define AWS_CLOUDWATCHLOGS_API
RejectedLogEventsInfo & WithTooNewLogEventStartIndex(long value)
RejectedLogEventsInfo & WithExpiredLogEventEndIndex(long value)
JSON (JavaScript Object Notation).