AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetAccountActivityRequest.h
1
6#pragma once
7#include <aws/freetier/FreeTier_EXPORTS.h>
8#include <aws/freetier/FreeTierRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/freetier/model/LanguageCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace FreeTier
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_FREETIER_API GetAccountActivityRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetAccountActivity"; }
32
33 AWS_FREETIER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetActivityId() const { return m_activityId; }
43 inline bool ActivityIdHasBeenSet() const { return m_activityIdHasBeenSet; }
44 template<typename ActivityIdT = Aws::String>
45 void SetActivityId(ActivityIdT&& value) { m_activityIdHasBeenSet = true; m_activityId = std::forward<ActivityIdT>(value); }
46 template<typename ActivityIdT = Aws::String>
47 GetAccountActivityRequest& WithActivityId(ActivityIdT&& value) { SetActivityId(std::forward<ActivityIdT>(value)); return *this;}
49
51
55 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
56 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
57 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
60 private:
61
62 Aws::String m_activityId;
63 bool m_activityIdHasBeenSet = false;
64
65 LanguageCode m_languageCode{LanguageCode::NOT_SET};
66 bool m_languageCodeHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace FreeTier
71} // namespace Aws
AWS_FREETIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetAccountActivityRequest & WithLanguageCode(LanguageCode value)
AWS_FREETIER_API GetAccountActivityRequest()=default
GetAccountActivityRequest & WithActivityId(ActivityIdT &&value)
AWS_FREETIER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String